/* Crispa Theme Market – front page sections. */

/* ------------------------------------------------------------------ Hero */
.p-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); background: #fff; }
.p-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--c-tint), transparent 62%); pointer-events: none; }
.p-hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .p-hero__grid { grid-template-columns: 1.05fr 1fr; } }
.p-hero__title { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.3; letter-spacing: .01em; margin: 6px 0 18px; }
.p-hero__title em { font-style: normal; background: linear-gradient(transparent 64%, var(--c-tint-2) 64%); }
.p-hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); color: #444; max-width: 34em; }
.p-search { display: grid; gap: 8px; margin: 28px 0 16px; padding: 8px; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; box-shadow: var(--c-shadow); }
@media (min-width: 600px) { .p-search { grid-template-columns: 1.4fr 1fr auto; } }
.p-search .c-input { border: 0; background: var(--c-bg); }
.p-search .c-btn { min-height: 48px; }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.p-hero__points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9375rem; color: var(--c-muted); }
.p-hero__points li { display: flex; gap: 6px; align-items: center; }
.p-hero__points .c-icon { color: var(--c-main); }
.p-hero__visual { position: relative; padding: 24px 12px 40px; }
.p-hero__float { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; box-shadow: var(--c-shadow-lg); padding: 12px 16px; }
.p-hero__float.is-progress { left: -4px; bottom: 0; min-width: 190px; display: grid; gap: 4px; }
.p-hero__float.is-toast { right: -4px; top: 0; display: flex; gap: 10px; align-items: center; font-size: .875rem; font-weight: 700; }
@media (min-width: 1024px) { .p-hero__float.is-progress { left: -32px; } .p-hero__float.is-toast { right: -24px; } }
.p-hero__float-label { font-size: .75rem; color: var(--c-muted); }
.p-hero__float-num { font-size: 1.75rem; font-weight: 800; color: var(--c-btn); line-height: 1.1; font-variant-numeric: tabular-nums; }
.p-hero__toast-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-ok); color: #fff; }
.c-bar { display: block; height: 8px; border-radius: 999px; background: var(--c-tint); overflow: hidden; }
.c-bar > i { display: block; height: 100%; width: var(--to, 0%); background: var(--c-main); border-radius: inherit; transition: width 1.3s var(--c-ease); }
.js .c-bar[data-bar]:not(.is-in) > i { width: 0; }
.p-stats { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 72px); background: var(--c-line); border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden; }
@media (min-width: 768px) { .p-stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.p-stats div { background: #fff; padding: 20px; text-align: center; }
.p-stats dt { font-size: .8125rem; color: var(--c-muted); }
.p-stats dd { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.p-stats dd small { font-size: .875rem; margin-left: 2px; }

/* ------------------------------------------------------------- Industries */
.p-industries__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .p-industries__list { grid-template-columns: repeat(4, 1fr); } }
.p-industry { position: relative; display: grid; gap: 6px; justify-items: start; height: 100%; padding: 20px; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--c-text); transition: border-color .2s, box-shadow .25s, transform .25s var(--c-ease); }
.p-industry:hover { border-color: var(--c-main); box-shadow: var(--c-shadow); color: var(--c-text); }
@media (prefers-reduced-motion: no-preference) { .p-industry:hover { transform: translateY(-3px); } }
.p-industry .c-icon-box { margin: 0 0 6px; width: 44px; height: 44px; border-radius: 12px; }
.p-industry__name { font-weight: 700; }
.p-industry__count { font-size: .8125rem; color: var(--c-muted); }
.p-industry__arrow { position: absolute; right: 16px; top: 20px; color: var(--c-btn); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.p-industry:hover .p-industry__arrow { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Themes */
.p-themes .c-tabs__list { justify-content: center; }

/* ------------------------------------------------ Wireframe → complete */
.p-build__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .p-build__grid { grid-template-columns: 1fr 1.1fr; } }
.p-build__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.p-build__step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, border-color .25s; }
.p-build__step:hover { background: var(--c-bg); }
.p-build__step[aria-current="step"] { background: #fff; border-color: var(--c-line); box-shadow: var(--c-shadow); }
.p-build__step-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--c-bg); color: var(--c-muted); transition: background-color .25s, color .25s; }
.p-build__step[aria-current="step"] .p-build__step-num { background: var(--c-btn); color: #fff; }
.p-build__step h3 { font-size: 1.0625rem; margin: 6px 0 4px; }
.p-build__step p { margin: 0; font-size: .9375rem; color: #4a4a4a; }
.p-build__step button { all: unset; }
.p-wire { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--c-shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.p-wire__bar { flex: none; display: flex; gap: 5px; padding: 10px 12px; background: #f4f1ee; }
.p-wire__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d2cb; }
.p-wire__page { flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 14px; }
.p-wire__head { display: flex; justify-content: space-between; align-items: center; }
.p-wire__logo { width: 70px; height: 14px; border-radius: 4px; border: 2px dashed #cfc8c2; transition: all .6s var(--c-ease); }
.p-wire__menu { display: flex; gap: 6px; }
.p-wire__menu i { width: 34px; height: 8px; border-radius: 4px; background: #eee9e4; }
.p-wire__hero { position: relative; border-radius: 12px; border: 2px dashed #cfc8c2; display: grid; align-content: center; gap: 10px; padding: 20px; overflow: hidden; transition: all .6s var(--c-ease); }
.p-wire__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgb(0 0 0 / 5%), rgb(0 0 0 / 35%)), repeating-linear-gradient(45deg, #d6c7b8 0 12px, #cbb9a7 12px 24px); opacity: 0; transition: opacity .8s; }
.p-wire__hero > * { position: relative; }
.p-wire__h { width: 70%; height: 16px; border-radius: 4px; background: #e2dbd5; transition: background-color .6s; }
.p-wire__p { width: 50%; height: 10px; border-radius: 4px; background: #eee9e4; transition: background-color .6s; }
.p-wire__cta { width: 110px; height: 28px; border-radius: 8px; border: 2px dashed #cfc8c2; transition: all .6s; }
.p-wire__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-wire__cards i { height: 52px; border-radius: 10px; border: 2px dashed #e2dbd5; transition: all .6s var(--c-ease); }
.p-wire__label { position: absolute; right: 12px; bottom: 12px; background: #222; color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.p-wire[data-stage="2"] .p-wire__logo, .p-wire[data-stage="3"] .p-wire__logo { border: 0; background: var(--c-main); }
.p-wire[data-stage="2"] .p-wire__hero, .p-wire[data-stage="3"] .p-wire__hero { border-style: solid; border-color: transparent; background: var(--c-btn); }
.p-wire[data-stage="2"] .p-wire__h, .p-wire[data-stage="3"] .p-wire__h { background: #fff; }
.p-wire[data-stage="2"] .p-wire__p, .p-wire[data-stage="3"] .p-wire__p { background: rgb(255 255 255 / 70%); }
.p-wire[data-stage="2"] .p-wire__cta, .p-wire[data-stage="3"] .p-wire__cta { border: 0; background: #fff; }
.p-wire[data-stage="2"] .p-wire__cards i, .p-wire[data-stage="3"] .p-wire__cards i { border: 0; background: var(--c-tint); }
.p-wire[data-stage="3"] .p-wire__hero::before { opacity: 1; }
.p-wire[data-stage="3"] .p-wire__cards i { background: linear-gradient(135deg, #e7d8c9, #d8c3ae); }

/* ------------------------------------------------ Member page showcase */
.p-portal__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .p-portal__grid { grid-template-columns: 1fr 1.15fr; } }
.p-dash { position: relative; background: #fff; border-radius: 20px; border: 1px solid var(--c-line); box-shadow: var(--c-shadow-lg); padding: 20px; display: grid; gap: 14px; }
.p-dash__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p-dash__hello { font-weight: 800; font-size: 1.0625rem; margin: 0; }
.p-dash__row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: stretch; }
.p-dash__today { border-radius: 14px; padding: 16px; background: linear-gradient(135deg, var(--c-tint), #fff 80%); border: 1px solid #f6c9ab; }
.p-dash__eyebrow { color: var(--c-btn); font-weight: 700; font-size: .75rem; margin: 0; }
.p-dash__task { font-weight: 800; margin: 4px 0 8px; }
.p-dash__btn { display: inline-block; background: var(--c-btn); color: #fff; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: .8125rem; }
.c-ring { position: relative; width: 132px; height: 132px; }
.c-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.c-ring .track { fill: none; stroke: var(--c-tint); stroke-width: 10; }
.c-ring .bar { fill: none; stroke: var(--c-main); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--c-ease); }
.c-ring__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 1.75rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.c-ring__num small { font-size: .75rem; color: var(--c-muted); font-weight: 400; display: block; }
.p-dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.p-dash__kpis div { background: var(--c-bg); border-radius: 10px; padding: 10px; text-align: center; }
.p-dash__kpis dt { font-size: .6875rem; color: var(--c-muted); }
.p-dash__kpis dd { margin: 0; font-weight: 800; }
.p-dash__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.p-dash__steps li { height: 8px; border-radius: 4px; background: var(--c-line); }
.p-dash__steps li.is-done { background: var(--c-main); }
.p-dash__steps li.is-now { background: repeating-linear-gradient(90deg, var(--c-main) 0 6px, var(--c-tint-2) 6px 12px); }
@media (max-width: 599px) { .p-dash__row { grid-template-columns: 1fr; } .c-ring { margin-inline: auto; } .p-dash__kpis { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------- Reasons */
.p-reasons__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .p-reasons__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .p-reasons__grid { grid-template-columns: repeat(3, 1fr); } }
.p-reason h3 { font-size: 1.125rem; }
.p-reason p { margin: 0; color: #4a4a4a; }

/* ---------------------------------------------------------- Support desk */
.p-support__search { max-width: 640px; margin: 0 auto 20px; position: relative; }
.p-support__search .c-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.p-support__search .c-input { padding-left: 46px; min-height: 56px; border-radius: 14px; box-shadow: var(--c-shadow-sm); }
.p-support__cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.p-support__cat { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-text); font-weight: 700; font-size: .875rem; cursor: pointer; }
.p-support__cat[aria-pressed="true"] { background: var(--c-btn); border-color: var(--c-btn); color: #fff; }
.p-support__faq { max-width: 820px; margin-inline: auto; }
.p-support__empty { text-align: center; color: var(--c-muted); }
.p-support__channels { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 768px) { .p-support__channels { grid-template-columns: repeat(3, 1fr); } }
.p-support__channels .c-card p { color: #4a4a4a; font-size: .9375rem; }

/* ----------------------------------------------------------------- Extras */
.p-extras__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .p-extras__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .p-build .c-section-head, .p-portal .c-section-head { text-align: left; margin-left: 0; } }

/* ------------------------------------------------- Hero stage (animated) */
.p-stage { position: relative; margin: 0; padding: 24px 12px 44px; --accent: var(--c-btn); }
.p-stage__frame { position: relative; container-type: inline-size; aspect-ratio: 4 / 3; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; box-shadow: var(--c-shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.p-stage__bar { flex: none; display: flex; gap: 5px; align-items: center; padding: 9px 12px; background: #f4f1ee; }
.p-stage__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9d2cb; }
.p-stage__url { margin-left: 8px; flex: 1; background: #fff; border-radius: 5px; padding: 2px 10px; font-size: clamp(9px, 2.3cqi, 12px); color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-stage__page { flex: 1; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto auto; gap: .6em; padding: .9em; min-height: 0; font-size: clamp(9px, 2.5cqi, 13px); }
.p-stage__page > * { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.p-stage[data-step="1"] .p-stage__head, .p-stage[data-step="2"] .p-stage__head, .p-stage[data-step="3"] .p-stage__head, .p-stage[data-step="4"] .p-stage__head, .p-stage[data-step="5"] .p-stage__head,
.p-stage[data-step="1"] .p-stage__info, .p-stage[data-step="2"] .p-stage__info, .p-stage[data-step="3"] .p-stage__info, .p-stage[data-step="4"] .p-stage__info, .p-stage[data-step="5"] .p-stage__info { opacity: 1; transform: none; }
.p-stage[data-step="2"] .p-stage__hero, .p-stage[data-step="3"] .p-stage__hero, .p-stage[data-step="4"] .p-stage__hero, .p-stage[data-step="5"] .p-stage__hero { opacity: 1; transform: none; }
.p-stage[data-step="3"] .p-stage__block, .p-stage[data-step="4"] .p-stage__block, .p-stage[data-step="5"] .p-stage__block { opacity: 1; transform: none; }
.p-stage[data-step="4"] .p-stage__sub, .p-stage[data-step="5"] .p-stage__sub { opacity: 1; transform: none; }
.p-stage[data-step="5"] .p-stage__foot { opacity: 1; transform: none; }
.p-stage__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.p-stage__logo { font-weight: 800; font-size: 1.15em; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .5s ease; }
.p-stage__menu { display: flex; gap: 5px; flex: none; }
.p-stage__menu i { width: 1.9em; height: .45em; border-radius: 4px; background: #eee9e4; }
.p-stage__info { font-size: .85em; font-weight: 700; line-height: 1.4; color: color-mix(in srgb, var(--accent) 78%, #000); background: color-mix(in srgb, var(--accent) 10%, #fff); border-radius: 6px; padding: .35em .8em; }
.p-stage__info[hidden] { display: none; }
.p-stage__hero { position: relative; border-radius: 10px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 62%, #000)); display: grid; align-content: center; gap: .7em; padding: 1.1em; min-height: 0; transition: background .6s ease; overflow: hidden; }
.p-stage__hero-text { display: grid; gap: .7em; justify-items: start; min-width: 0; }
.p-stage__catch { color: #fff; font-weight: 800; font-size: 1.3em; line-height: 1.45; text-shadow: 0 1px 4px rgb(0 0 0 / 22%); }
.p-stage__cta { display: block; width: 7em; height: 1.45em; border-radius: 6px; background: #fff; }
.p-stage__hero-thumb { display: none; border-radius: 8px; background: repeating-linear-gradient(135deg, rgb(255 255 255 / 28%) 0 10px, rgb(255 255 255 / 16%) 10px 20px); }
.p-stage__block i, .p-stage__sub b { display: grid; align-content: center; gap: 4px; font-style: normal; font-weight: 700; border-radius: 8px; background: color-mix(in srgb, var(--accent) 11%, #fff); color: color-mix(in srgb, var(--accent) 78%, #000); font-size: .85em; line-height: 1.35; padding: .55em .7em; transition: background .6s ease, color .6s ease; }
.p-stage__block { display: grid; gap: .55em; min-width: 0; }
.p-stage__sub { display: grid; gap: .4em; min-width: 0; }
.p-stage__sub b { background: #f6f4f2; color: #555; font-weight: 600; }
.p-stage__sub b em, .p-stage__block i em { font-style: normal; font-weight: 700; opacity: .75; }
.p-stage__foot { height: 1.9em; border-radius: 8px; background: color-mix(in srgb, var(--accent) 82%, #000); transition: background .6s ease; }

/* 業種ごとのページ構成 */
.p-stage__page[data-layout="cards"] .p-stage__block { grid-template-columns: repeat(3, 1fr); }
.p-stage__page[data-layout="cards"] .p-stage__block i { min-height: 3.4em; place-items: center; text-align: center; }
.p-stage__page[data-layout="cards"] .p-stage__sub { grid-template-columns: 1fr 1fr; }

.p-stage__page[data-layout="split"] .p-stage__hero { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 12px; }
.p-stage__page[data-layout="split"] .p-stage__hero-thumb { display: block; min-height: 5em; height: 100%; }
.p-stage__page[data-layout="split"] .p-stage__block { grid-template-columns: 1fr 1fr; }
.p-stage__page[data-layout="split"] .p-stage__block i { min-height: 3.6em; }
.p-stage__page[data-layout="split"] .p-stage__sub { grid-template-columns: 1fr 1fr; }

.p-stage__page[data-layout="clinic"] .p-stage__hero { padding: .9em; }
.p-stage__page[data-layout="clinic"] .p-stage__block { grid-template-columns: repeat(3, 1fr); }
.p-stage__page[data-layout="clinic"] .p-stage__block i { min-height: 2.9em; place-items: center; text-align: center; border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff); background: #fff; }
.p-stage__page[data-layout="clinic"] .p-stage__sub b { grid-template-columns: 1fr auto; grid-auto-flow: column; align-items: center; background: #fff; border-bottom: 1px solid var(--c-line); border-radius: 0; padding: .4em .1em; }

.p-stage__page[data-layout="news"] .p-stage__hero { min-height: 4em; padding: .8em 1em; }
.p-stage__page[data-layout="news"] .p-stage__block { gap: 0; }
.p-stage__page[data-layout="news"] .p-stage__block i { grid-template-columns: auto 1fr; grid-auto-flow: dense; align-items: center; gap: .7em; background: #fff; border-bottom: 1px dashed var(--c-line); border-radius: 0; padding: .45em .1em; font-weight: 600; color: #444; }
.p-stage__page[data-layout="news"] .p-stage__block i em { order: -1; background: color-mix(in srgb, var(--accent) 14%, #fff); color: color-mix(in srgb, var(--accent) 80%, #000); border-radius: 4px; padding: .1em .6em; opacity: 1; font-size: .8em; }
.p-stage__page[data-layout="news"] .p-stage__sub { grid-template-columns: 1fr 1fr; }
.p-stage__page[data-layout="news"] .p-stage__sub b { min-height: 2.6em; place-items: center; background: color-mix(in srgb, var(--accent) 12%, #fff); color: color-mix(in srgb, var(--accent) 78%, #000); font-weight: 700; }

.p-stage__page[data-layout="gallery"] .p-stage__hero { grid-template-columns: 1fr .8fr; align-items: center; gap: 12px; }
.p-stage__page[data-layout="gallery"] .p-stage__hero-thumb { display: block; min-height: 4.6em; height: 100%; }
.p-stage__page[data-layout="gallery"] .p-stage__block { grid-template-columns: repeat(4, 1fr); }
.p-stage__page[data-layout="gallery"] .p-stage__block i { min-height: 2.8em; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, #fff), color-mix(in srgb, var(--accent) 8%, #fff)); }
.p-stage__page[data-layout="gallery"] .p-stage__sub b { grid-template-columns: 1fr auto; grid-auto-flow: column; align-items: center; background: #fff; border-bottom: 1px solid var(--c-line); border-radius: 0; padding: .4em .1em; }
.p-stage__page[data-layout="gallery"] .p-stage__sub b em { color: var(--accent); }

.p-stage__toast { position: absolute; right: -4px; top: 4px; z-index: 2; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; box-shadow: var(--c-shadow-lg); padding: 10px 16px; font-size: .875rem; font-weight: 700; max-width: 70%; }
.p-stage__toast-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-ok); color: #fff; transition: background .3s; }
.p-stage__toast.is-working .p-stage__toast-icon { background: var(--accent); }
.p-stage__meter { position: absolute; left: -4px; bottom: 6px; z-index: 2; display: grid; gap: 4px; min-width: 190px; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; box-shadow: var(--c-shadow-lg); padding: 12px 16px; }
@media (min-width: 1024px) { .p-stage__meter { left: -28px; } .p-stage__toast { right: -24px; } }
.p-stage__meter-label { font-size: .75rem; color: var(--c-muted); }
.p-stage__meter-num { font-size: 1.75rem; font-weight: 800; line-height: 1.1; color: var(--c-btn); font-variant-numeric: tabular-nums; }
.p-stage__meter-num small { font-size: .9375rem; margin-left: 2px; }
.p-stage__chip { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 1; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; transition: background .5s ease; box-shadow: 0 6px 16px rgb(34 34 34 / 18%); }
@media (max-width: 640px) {
	/* スマートフォンでは重ならないように、ふきだしと進捗を枠の外に縦並びで置きます。 */
	.p-stage { padding: 0; display: grid; gap: 10px; justify-items: start; }
	.p-stage__toast, .p-stage__meter, .p-stage__chip { position: static; transform: none; box-shadow: var(--c-shadow); max-width: 100%; }
	.p-stage__toast { order: -1; font-size: .8125rem; padding: 8px 14px; }
	.p-stage__frame { width: 100%; aspect-ratio: auto; min-height: 300px; }
	.p-stage__meter { width: 100%; min-width: 0; }
	.p-stage__meter-num { font-size: 1.5rem; }
	.p-stage__chip { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .p-stage__page > * { opacity: 1; transform: none; } }
