/* ============================================================
   NIKO ESTATE LP — Refreshed (SP-first)
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --c-navy: #203379;
  --c-navy-deep: #182756;
  --c-red: #d9333a;
  --c-red-soft: #ff5c63;
  --c-yellow: #efce1f;
  --c-yellow-deep: #fbbd00;
  --c-pink: #fdebef;
  --c-pink-deep: #f9d8e0;
  --c-cream: #fff7df;
  --c-ink: #333333;
  --c-ink-soft: #555;
  --c-mute: #999;
  --c-bg: #ffffff;
  --c-line: #e5e5e5;
  --shadow-pop: 4px 4px 0 rgba(32, 51, 121, 0.18);
  --shadow-pop-red: 4px 4px 0 #c2202b;
  --shadow-pop-yellow: 4px 4px 0 #c69e0a;
  --c-soft: #f3f4f8;
  --radius-card: 18px;
  --radius-pill: 999px;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* ---------- Base ---------- */
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; overflow-x: hidden; }

/* ---------- Header ---------- */
.header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(0,0,0,0.14);
  position: relative;
}
.header__inner {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 14px 18px;
}
.header__logo {
  display: flex; align-items: center;
}
.header__logo img {
  height: 36px;
  width: auto;
  display: block;
}
.header__phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px;
  color: var(--c-navy);
  font-weight: 700;
}
.header__phone .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-red);
  animation: blink 1.4s infinite;
}
@keyframes blink {
  0%, 60%, 100% { opacity: 1; }
  30% { opacity: 0.25; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; padding: 0; }

.hero__catch-img {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  margin: 0;
}
.hero__catch-img picture,
.hero__catch-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- CTA block ---------- */
.cv {
  background-color: var(--c-navy);
  background-image: url("../images/cv-sp.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding: 28px 18px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cv::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(239, 206, 31, 0.12), transparent 35%);
  pointer-events: none;
}
.cv__sub {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: #d6dcf3;
}
.cv__sub::before, .cv__sub::after {
  content: ""; display: inline-block; width: 30px; height: 1px;
  background: rgba(255,255,255,0.5);
  vertical-align: middle;
  margin: 0 8px;
}
.cv__heading {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.cv__heading .y { color: var(--c-yellow); font-weight: 900; }
.cv__heading .y-big { color: var(--c-yellow); font-size: 34px; font-weight: 900; }

.cv__button {
  position: relative;
  display: flex;
  align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  height: 64px;
  background: linear-gradient(180deg, #ffe45c 0%, var(--c-yellow) 100%);
  color: var(--c-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 #b8910e, 0 8px 20px rgba(0,0,0,0.25);
  animation: pulse 2.4s infinite ease-in-out;
}
.cv__button .icon {
  width: 26px; height: 26px;
  background: var(--c-navy);
  color: var(--c-yellow);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px;
}
.cv__button .chev { font-size: 19px; color: var(--c-navy); }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.cv__note {
  position: relative;
  font-size: 14px;
  color: #aab1d3;
  margin-top: 10px;
  font-weight: 500;
}

/* ---------- Section base ---------- */
.section { padding: 44px 18px; }
.section__catch {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.section__catch::before, .section__catch::after {
  content: ""; display: inline-block; width: 20px; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin: 0 8px;
}
/* ---------- Situation alert heading (reproduced from kurashino-adlp.com/lp4 .section-feature) ---------- */
.situation__alert-label {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  background-image: url("../images/feature-title-bg.gif");
  background-position: center bottom;
  background-size: 240px auto;
  background-repeat: no-repeat;
  padding-bottom: 5px;
  margin: 0 0 4px;
  color: var(--c-ink);
}
.situation__alert-heading {
  font-size: 31px;
  font-weight: 900;
  width: 70%;
  margin: 0 auto 10px;
  line-height: 1.3;
  text-align: center;
  color: var(--c-ink);
}
.situation__alert-fs-large {
  font-size: 36px;
  font-weight: 900;
  color: #F19601;
}
.situation__alert-marker {
  background-image: linear-gradient(#ffffad, #ffffad);
  background-size: 100% 0.25em;
  background-position: center 95%;
  background-repeat: no-repeat;
  display: inline;
}
.section__heading {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  color: var(--c-ink);
  margin-bottom: 24px;
}
.section__heading .em {
  position: relative;
  background: linear-gradient(transparent 60%, var(--c-yellow) 60%);
  padding: 0 4px;
}
.section__heading .big {
  font-size: 32px;
  color: var(--c-navy);
  font-weight: 900;
}
.section__heading .red { color: var(--c-red); }

/* ---------- Situation list ---------- */
.situation {
  background: #e4e7f1;
  position: relative;
  overflow: hidden;
}
.situation::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.situation::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(32, 51, 121, 0.12) 1.6px, transparent 1.7px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
}
.situation .section__inner {
  position: relative;
  z-index: 1;
}
.situation__list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 24px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 28px 22px;
}
.situation__item {
  padding: 12px 0 12px 44px;
  position: relative;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.5;
}
.situation__item::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-red);
  background-image:
    linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%);
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.situation__item .em {
  color: #F19601;
}
.situation__count {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.situation__footer-text {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--c-ink);
  line-height: 1.55;
  text-align: center;
}
.situation__footer-text .hl {
  color: #F19601;
  font-size: 23px;
}

/* ---------- Why (通過率が高い理由) ---------- */
.why__list {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.why__item {
  padding: 20px 0 24px;
  border-bottom: 1px dashed var(--c-line);
}
.why__item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}
.why__item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.why__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: var(--c-navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.why__badge .n {
  font-size: 19px;
  font-weight: 900;
  color: var(--c-yellow);
  letter-spacing: 0;
}
.why__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  color: var(--c-ink);
}
.why__heading .em {
  color: #F19601;
  background: linear-gradient(transparent 60%, #ffffad 60%);
  padding: 0 2px;
}
.why__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-ink-soft);
  margin-bottom: 10px;
}
.why__check-list {
  display: grid;
  gap: 6px;
}
.why__check-list li {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.why__check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--c-red);
}
.why__check-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 7px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.support__divider {
  text-align: center;
  margin: 48px 0;
  position: relative;
}
.support__divider::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--c-line);
}
.support__divider-text {
  display: inline-block;
  position: relative;
  background: #fff;
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy);
}
.support__divider-text .em {
  color: #F19601;
}

/* ---------- Support ---------- */
.support {
  background-color: #fff;
  background-image: url("../images/step.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  position: relative;
}
.support__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 8px;
}
.support__card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 2px solid var(--c-navy);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  position: relative;
}
.support__card-image {
  width: 100%; aspect-ratio: 21/9;
  background: #f0f0f0;
  overflow: hidden;
  position: relative;
}
.support__card-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 12px; box-sizing: border-box; }
.support__card-body { padding: 14px 16px 18px; }
.support__card-num {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--c-navy);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.support__card-num .n {
  font-size: 21px;
  font-weight: 900;
  color: var(--c-yellow);
  letter-spacing: 0;
}
.support__card-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.support__card-heading .em {
  color: #F19601;
  background: linear-gradient(transparent 60%, #ffffad 60%);
  padding: 0 2px;
}
.support__card-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}
.support__card-attn {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-mute);
}

/* ---------- About / Capabilities ---------- */
.about {
  background: var(--c-yellow);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  top: -40px; left: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  z-index: 0;
}
.about::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -30px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  z-index: 0;
}
.about__inner { position: relative; z-index: 1; }
.about__heading {
  margin-bottom: 8px;
  color: #fff;
  -webkit-text-stroke: 1.3px #000000;
  paint-order: stroke fill;
}
.about__heading .big { color: #fff; }

.about__hero {
  margin-top: 22px;
  background: #fff;
  border: 3px solid var(--c-navy);
  border-radius: var(--radius-card);
  padding: 26px 18px 20px;
  text-align: center;
  position: relative;
  box-shadow: 5px 5px 0 var(--c-navy-deep);
}
.about__hero-num {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  color: var(--c-red);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}
.about__hero-num .prefix {
  font-size: 20px;
  color: var(--c-navy);
  background: var(--c-yellow);
  padding: 4px 10px;
  border-radius: 6px;
  align-self: center;
  letter-spacing: 0.04em;
  position: relative;
  top: 8px;
}
.about__hero-num .zero {
  font-size: 117px;
  letter-spacing: -0.04em;
  line-height: 0.95;
  position: relative;
}
.about__hero-num .zero::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2px;
  height: 14px;
  background: var(--c-yellow);
  z-index: -1;
  border-radius: 2px;
}
.about__hero-num .suffix {
  font-size: 47px;
  color: var(--c-red);
}
.about__hero-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-ink);
  text-align: left;
  font-weight: 500;
}
.about__hero-text .em {
  color: var(--c-red);
  font-weight: 700;
  background: linear-gradient(transparent 62%, var(--c-yellow) 62%);
  padding: 0 2px;
}
.about__hero-attn {
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-mute);
  text-align: left;
}

.about__bridge {
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--c-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}
.about__bridge-text {
  background: transparent;
  padding: 0;
}
.about__bridge-arrow {
  font-size: 17px;
  color: var(--c-navy);
  line-height: 1;
  animation: bridgeBounce 1.6s infinite ease-in-out;
}
@keyframes bridgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.case .section__catch { margin-top: 8px; }

/* ---------- Generic section dividers ---------- */
/* Alternating: diagonal slash and wave for visual rhythm. */
/* CV (CTA) sections keep straight edges intentionally. */

/* Extra top padding to keep headings clear of the divider */
.case + .compare { padding-top: 58px; }

/* ---------- Case ---------- */
.case {
  background: var(--c-soft);
}
.case__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 8px;
}
.case__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
  border: 1px solid var(--c-line);
}
.case__photo {
  width: 100%; aspect-ratio: 16/10;
  background: #e9ecef;
  position: relative;
  overflow: hidden;
}
.case__photo img { width: 100%; height: 100%; object-fit: cover; }
.case__no {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--c-navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.case__no .n {
  font-size: 16px;
  color: var(--c-yellow);
  font-weight: 900;
  margin-left: 2px;
  line-height: 1;
}
.case__price-tag {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: var(--font-display);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}
.case__price-tag .big {
  font-size: 25px;
  color: var(--c-yellow);
  font-weight: 900;
}
.case__body { padding: 14px 16px 16px; }
.case__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.case__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}
.case__spec {
  background: #f5f3ee;
  padding: 8px 6px;
  border-radius: 8px;
  text-align: center;
}
.case__spec .label {
  font-size: 12px;
  color: var(--c-mute);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.case__spec .value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
}
.case__cust {
  display: flex; align-items: center; gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--c-line);
  font-size: 15px;
  color: var(--c-ink-soft);
  line-height: 1.5;
}
.case__cust .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-yellow);
  display: grid; place-items: center;
  font-weight: 700;
  color: var(--c-navy);
  font-size: 13px;
  flex-shrink: 0;
}
.case__cust .quote {
  flex: 1;
}
.case__cust .quote::before {
  content: "「";
  color: var(--c-red);
  font-weight: 700;
}
.case__cust .quote::after {
  content: "」";
  color: var(--c-red);
  font-weight: 700;
}

/* ---------- Case merits ---------- */
.case__merits {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--c-navy);
  border-radius: 10px;
}
.case__merits-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-yellow);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.case__merits-list {
  display: grid;
  gap: 4px;
}
.case__merits-list li {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.case__merits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-yellow);
  font-size: 14px;
}

/* ---------- Compare ---------- */
.compare {
  background: var(--c-red);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.compare::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.06), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(0,0,0,0.15), transparent 40%);
  pointer-events: none;
}
.compare__inner { position: relative; }
.compare__heading { color: #fff; }
.compare__heading .em {
  background: linear-gradient(transparent 60%, var(--c-yellow) 60%);
  color: var(--c-ink);
}
.compare__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 8px;
}
.compare__row {
  background: #fff;
  color: var(--c-ink);
  border-radius: var(--radius-card);
  padding: 18px 14px 16px;
  box-shadow: 0 4px 0 #c2202b;
  position: relative;
}
.compare__row-photo {
  width: 100%;
  aspect-ratio: 4/2;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f0f0f0;
}
.compare__row-photo img { width: 100%; height: 100%; object-fit: cover; }
.compare__pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.compare__col {
  border-radius: 12px;
  padding: 12px;
  border: 2px solid var(--c-line);
}
.compare__col.is-recommended {
  border-color: var(--c-red);
  background: #fff5f5;
  position: relative;
}
.compare__col.is-recommended::before {
  content: "推奨";
  position: absolute;
  top: -10px; right: 10px;
  background: var(--c-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.compare__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.compare__col-title .icon { width: 22px; height: 22px; }
.compare__col.is-recommended .compare__col-title { color: var(--c-red); }
.compare__col-list {
  display: grid; gap: 6px;
}
.compare__col-list li {
  font-size: 13px;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
  color: var(--c-ink);
}
.compare__col-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  background-image: url("../images/icon_check02.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.compare__col.is-recommended .compare__col-list li::before {
  background-image: url("../images/icon_check01.svg");
}

/* ---------- STEP ---------- */
.step { background: #fff; }
.step__list {
  display: grid; gap: 12px;
  position: relative;
}
.step__list::before {
  content: "";
  position: absolute;
  left: 30px; top: 0; bottom: 30px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--c-red) 0 4px, transparent 4px 8px);
  z-index: 0;
}
.step__item {
  display: flex;
  align-items: stretch;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.step__num {
  flex-shrink: 0;
  width: 60px;
  background: var(--c-navy);
  color: #fff;
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.step__num .label { font-size: 11px; color: var(--c-yellow); }
.step__num .n { font-size: 23px; font-weight: 900; line-height: 1; margin-top: 2px; }
.step__item:last-child .step__num { background: var(--c-yellow); color: var(--c-navy); }
.step__item:last-child .step__num .label { color: var(--c-navy); }

.step__body {
  flex: 1;
  background: #fff;
  border: 2px solid var(--c-ink);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.step__body .heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-red);
}
.step__item:last-child .step__body .heading { color: var(--c-yellow-deep); }
.step__body .text {
  font-size: 13px;
  color: var(--c-ink-soft);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq { background: var(--c-soft); }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.faq__q {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 16px 44px 16px 14px;
  background: var(--c-navy);
  color: #fff;
  position: relative;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.faq__q .qmark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #fff;
  color: var(--c-navy);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq__item.is-open .faq__q::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner {
  overflow: hidden;
  display: flex;
}
.faq__a-inner > .padbox {
  padding: 16px;
  display: flex; gap: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
}
.faq__a-inner .amark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--c-navy);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
}

/* ---------- Contact ---------- */
.contact { background: var(--c-soft); padding-bottom: 110px; }
.contact__lead {
  text-align: center;
  font-size: 17px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
}
/* ── ステップ型シミュレーションフォーム（lp/012のウィザードUXを反映） ── */
.contact .wizard {
  max-width: none;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(32, 51, 121, 0.08);
  box-shadow: 0 20px 44px rgba(32, 51, 121, 0.18), 0 4px 14px rgba(0, 0, 0, 0.06);
}
.contact .wizard__header {
  background: linear-gradient(135deg, #203379, #16294c);
  color: #fff;
  text-align: center;
  font-size: 0.901rem;
  font-weight: 700;
  padding: 0.9rem 1rem;
  line-height: 1.5;
  border-radius: 0;
}
.contact .wizard__progress-wrap { padding: 1.25rem 1.25rem 0.5rem; }
.contact .wizard__progress { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin-bottom: 0.8rem; }
.contact .wizard__progress-line { flex: 1; max-width: 1.6rem; height: 2px; background: #ddd; }
.contact .wizard__progress-dot {
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: #e5e5e5;
  color: #999;
  font-size: 0.848rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.contact .wizard__progress-dot.is-active {
  background: var(--c-navy);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(32, 51, 121, 0.15);
}
.contact .wizard__progress-dot.is-done { background: #cfe0f5; color: var(--c-navy); }
.contact .wizard__progress-bar { height: 6px; background: #efefef; border-radius: 3px; overflow: hidden; margin: 0 0.2rem; }
.contact .wizard__progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--c-navy), var(--c-red));
  border-radius: 3px;
  transition: width 0.4s ease-out;
}
.contact .wizard__progress-text { text-align: center; font-size: 0.795rem; color: #777; margin-top: 0.5rem; font-weight: 700; letter-spacing: 0.03em; }
.contact .wizard__progress-text #progress-remaining { color: var(--c-red); }
.contact .wizard__step { display: none; padding: 1.5rem 1.25rem 1.75rem; }
.contact .wizard__step.is-active { display: block; animation: wizardStepFade 0.3s ease-out; }
@keyframes wizardStepFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact .wizard__step-label { font-size: 0.721rem; font-weight: 700; color: #999; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.35rem; }
.contact .wizard__step-title { font-size: 1.113rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.35rem; line-height: 1.4; }
.contact .wizard__step-help { font-size: 0.848rem; color: #777; margin-bottom: 1.25rem; }
.contact .wizard__step-help-ic { margin-right: 0.2em; }
.contact .wizard__options { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.5rem; }
.contact .wizard__option { position: relative; }
.contact .wizard__option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.contact .wizard__option label {
  display: flex; align-items: center; justify-content: center;
  padding: 0.85rem 1rem;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 0.975rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.05s;
  text-align: center;
  user-select: none;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}
.contact .wizard__option label:hover { border-color: var(--c-navy); }
.contact .wizard__option label:active { transform: scale(0.99); }
.contact .wizard__option input[type="radio"]:checked + label {
  border-color: var(--c-navy);
  background: var(--c-navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(32, 51, 121, 0.25);
}
.contact .wizard__option input[type="radio"]:focus-visible + label { outline: 3px solid rgba(239, 54, 61, 0.4); outline-offset: 2px; }
.contact .wizard__nav { display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.contact .wizard__nav--last { margin-top: 1rem; justify-content: center; }
.contact .wizard__nav--last .btn-prev { flex: 0 1 auto; background: transparent; color: #888; padding: 0.5rem 1rem; font-size: 0.901rem; font-weight: 500; text-decoration: underline; }
.contact .btn-prev, .contact .btn-next {
  flex: 1;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 999px;
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.05s;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.contact .btn-prev { background: #ebebeb; color: #555; flex: 0 0 35%; }
.contact .btn-next { background: var(--c-navy); color: #fff; }
.contact .btn-prev:hover, .contact .btn-next:hover { opacity: 0.82; }
.contact .btn-prev:active, .contact .btn-next:active { transform: scale(0.98); }
.contact .wizard__field { margin-bottom: 0.9rem; }
.contact .wizard__field > label { display: block; font-size: 0.901rem; font-weight: 700; color: #444; margin-bottom: 0.35rem; }
.contact .wizard__field .req {
  background: var(--c-red);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.12em 0.5em;
  border-radius: 3px;
  margin-left: 0.45em;
  vertical-align: middle;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.contact .wizard__field input[type="text"],
.contact .wizard__field input[type="tel"],
.contact .wizard__field input[type="email"] {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 1.007rem;
  font-family: inherit;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  background: #fafafa;
}
.contact .wizard__field input:focus { border-color: var(--c-navy); background: #fff; box-shadow: 0 0 0 3px rgba(32, 51, 121, 0.12); }
.contact .wizard__field input::placeholder { color: #bdbdbd; }
.contact .wizard__field input.required { border-color: var(--c-red) !important; }
.contact .wizard__field select {
  width: 100%;
  padding: 0.8rem 2.4rem 0.8rem 0.9rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 1.007rem;
  font-family: inherit;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  background-color: #fafafa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23203379' d='M5.5 7.5l4.5 4.5 4.5-4.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.contact .wizard__field select:invalid { color: #bdbdbd; }
.contact .wizard__field select:focus { border-color: var(--c-navy); background-color: #fff; box-shadow: 0 0 0 3px rgba(32, 51, 121, 0.12); }
.contact .wizard__field select.required { border-color: var(--c-red) !important; }
.contact .wizard__field .error { color: #ff1421; font-size: 0.795rem; margin-top: 0.3rem; }
.contact .wizard__field-note { font-size: 0.774rem; color: #777; margin-top: 0.35rem; font-weight: 500; }
.contact .wizard .form__privacy { padding: 0.75rem 0 1.25rem; }
.contact .wizard .btn-submit {
  display: block;
  width: 100%;
  margin: 0.25rem auto 0;
  padding: 1.15rem 1rem 1rem;
  background: linear-gradient(180deg, var(--c-navy), var(--c-navy-deep));
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.166rem;
  font-weight: 700;
  font-family: inherit;
  box-shadow: 0 6px 0 #0f1c38, 0 12px 24px rgba(32, 51, 121, 0.35);
  transition: transform 0.1s, box-shadow 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.contact .wizard .btn-submit:active { transform: translateY(3px); box-shadow: 0 3px 0 #0f1c38, 0 6px 12px rgba(32, 51, 121, 0.3); }
.contact .wizard .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form__privacy {
  font-size: 14px;
  color: var(--c-mute);
  line-height: 1.6;
  text-align: center;
}
.form__privacy a { color: var(--c-navy); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background-color: var(--c-yellow);
  background-image: url("../images/footer-sp.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 28px 18px 20px;
  text-align: center;
}
.footer__logo {
  margin: 0 auto 10px;
  display: flex; justify-content: center;
}
.footer__logo img {
  height: 56px; width: auto;
}
.footer__text { font-size: 15px; color: var(--c-navy); }
.footer__text a { color: inherit; text-decoration: underline; }
.footer__copy {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 14px;
  color: var(--c-ink-soft);
}

/* ---------- Emphasis weight overrides (apply last) ---------- */
.section__heading,
.section__heading .em,
.section__heading .big,
.section__heading .red,
.section__catch,
.cv__heading,
.cv__heading .y,
.cv__heading .y-big,
.cv__button,
.situation__item .em,
.situation__footer-text,
.situation__footer-text .hl,
.support__card-heading,
.support__card-heading .em,
.about__hero-num,
.about__hero-num .zero,
.about__hero-num .suffix,
.about__hero-num .prefix,
.about__hero-text .em,
.about__bridge,
.case__title,
.case__price-tag,
.case__price-tag .big,
.case__no,
.case__no .n,
.compare__col-title,
.compare__col.is-recommended::before,
.faq__q,
.faq__q .qmark,
.faq__a-inner .amark,
.contact .wizard .btn-submit,
.section__heading .em,
.footer__logo {
  font-weight: 900;
}

/* White band above footer for logo */
.footer-logo-band {
  background: #fff;
  padding: 24px 18px 22px;
  text-align: center;
  border-top: 1px solid var(--c-line);
}
.footer-logo-band img {
  height: 80px;
  width: auto;
  max-width: 80%;
  display: inline-block;
}

/* Footer text-only (no image) */
.footer__logo img { display: none; }

/* ---------- Privacy Modal ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: flex-end;
  justify-content: center;
}
.modal.is-open {
  display: flex;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 82dvh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.18);
  animation: modalSlideUp 0.3s ease;
}
@keyframes modalSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  background: var(--c-soft);
  border-radius: 50%;
  font-size: 17px;
  color: var(--c-ink-soft);
  display: grid; place-items: center;
  z-index: 2;
  cursor: pointer;
}
.modal__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 40px;
}
.modal__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--c-navy);
  margin-bottom: 16px;
  padding-right: 40px;
  border-bottom: 2px solid var(--c-yellow);
  padding-bottom: 12px;
}
.modal__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-navy);
  background: var(--c-soft);
  padding: 6px 10px;
  border-radius: 6px;
  margin: 18px 0 8px;
}
.modal__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
  margin-bottom: 8px;
}
.modal__list {
  list-style: decimal;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.modal__list li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1; transform: none;
}

/* ---------- Floating CTA (追従CTA) ---------- */
.floating-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(24, 39, 86, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.floating-cta__button {
  position: relative;
  display: flex;
  align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  height: 56px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffe45c 0%, var(--c-yellow) 100%);
  color: var(--c-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 #b8910e, 0 6px 14px rgba(0,0,0,0.25);
}
.floating-cta__chev { font-size: 18px; color: var(--c-navy); }

/* ---------- Tablet (600px+) — keep SP look, centered ---------- */
/* ============================================================
   PC / Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {

  /* --- Layout container --- */
  .wrap { width: 100%; }

  .hero__inner,
  .section__inner,
  .compare__inner {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }

  /* footer は全幅背景のまま、内側テキストのみ中央揃え */
  .footer__logo,
  .footer__text,
  .footer__copy {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }

  /* cv は全幅背景のまま、内側コンテンツのみ中央揃え */
  .cv__sub,
  .cv__heading,
  .cv__button,
  .cv__note {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Header --- */
  .header__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 40px;
  }
  .header__logo img { height: 44px; }

  /* --- CTA block --- */
  .cv { padding: 48px 40px 56px; }
  .cv__sub { font-size: 18px; }
  .cv__heading { font-size: 34px; }
  .cv__heading .y-big { font-size: 45px; }
  .cv__button { max-width: 520px; margin: 0 auto; height: 76px; font-size: 23px; }
  .cv__note { font-size: 16px; }

  /* --- Section base --- */
  .section { padding: 80px 40px; }
  .section__inner { padding: 0 40px; }
  .section__catch { font-size: 18px; }
  .section__heading { font-size: 36px; }
  .section__heading .big { font-size: 42px; }

  /* --- Situation --- */
  .situation__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 12px;
  }
  .situation__item { font-size: 20px; padding: 8px 16px 8px 50px; }
  .situation__footer-text { font-size: 22px; }
  .situation__footer-text .hl { font-size: 28px; }
  .situation__alert-label { font-size: 34px; background-size: auto; padding-bottom: 10px; }
  .situation__alert-heading { font-size: 40px; width: auto; }
  .situation__alert-fs-large { font-size: 51px; }
  .situation::after { background-size: 16px 16px; }

  /* --- Why --- */
  .why__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .why__heading { font-size: 21px; }
  .why__text { font-size: 17px; }
  .why__check-list li { font-size: 16px; }
  .support__divider-text { font-size: 18px; }

  /* --- Support --- */
  .support__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .support__card-heading { font-size: 23px; }
  .support__card-text { font-size: 19px; }

  /* --- About --- */
  .about__inner { padding: 0 40px; }
  .about__hero {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .about__hero-num .zero { font-size: 170px; }
  .about__hero-num .prefix { font-size: 23px; }
  .about__hero-num .suffix { font-size: 59px; }
  .about__hero-text { font-size: 19px; }
  .about__bridge { font-size: 19px; }

  /* --- Case --- */
  .case__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .case__title { font-size: 21px; }
  .case__spec .label { font-size: 14px; }
  .case__spec .value { font-size: 18px; }
  .case__cust { font-size: 16px; }
  .case__merits-label { font-size: 15px; }
  .case__merits-list li { font-size: 16px; }

  /* --- Case merits (PC) --- */
  .case__merits-label { font-size: 13px; }
  .case__merits-list li { font-size: 14px; }

  /* --- FAQ --- */
  .faq__list {
    max-width: 840px;
    margin: 0 auto;
  }
  .faq__q { font-size: 19px; padding: 18px 48px 18px 16px; }
  .faq__q .qmark { width: 34px; height: 34px; font-size: 21px; }
  .faq__a-inner > .padbox { font-size: 18px; }
  .faq__a-inner .amark { width: 34px; height: 34px; font-size: 21px; }

  /* --- Contact --- */
  .contact { padding-bottom: 80px; }
  .contact__lead { font-size: 18px; }
  .contact .wizard { max-width: 540px; margin: 0 auto; }
  .contact .wizard__header { border-radius: 14px 14px 0 0; font-size: 1.007rem; }
  .contact .wizard__step-title { font-size: 1.272rem; }
  .contact .wizard__option label { padding: 1rem 1.25rem; font-size: 1.06rem; }
  .contact .wizard__field input[type="text"],
  .contact .wizard__field input[type="tel"],
  .contact .wizard__field input[type="email"] { padding: 0.9rem 1rem; font-size: 1.06rem; }
  .contact .wizard__field select { padding: 0.9rem 2.4rem 0.9rem 1rem; font-size: 1.06rem; }
  .form__privacy { font-size: 15px; }

  /* --- Footer --- */
  .footer { padding: 36px 40px 24px; }
  .footer__logo { font-size: 25px; }
  .footer__text { font-size: 17px; }
  .footer__copy { font-size: 15px; }

  /* --- Floating CTA --- */
  .floating-cta__button { max-width: 420px; height: 60px; font-size: 17px; }

}

/* ---------- 021：対象外の注記・信用情報の案内 ---------- */
.ng-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  margin-top: 14px;
  text-align: left;
}
.contact .ng-note--form {
  margin: 0;
  padding: 0.6rem 1.25rem;
  background: var(--c-cream);
  color: var(--c-ink);
  font-weight: 500;
}
.ng-note--cv {
  position: relative;
  color: #aab1d3;
  max-width: 420px;
  margin: 12px auto 0;
}
.contact .wizard__block {
  margin: -0.5rem 0 1.25rem;
  padding: 1rem;
  border: 2px solid var(--c-red);
  border-radius: 12px;
  background: #fff5f5;
}
.contact .wizard__block[hidden] { display: none; }
.contact .wizard__block-title { font-weight: 700; color: var(--c-red); margin-bottom: 0.35rem; }
.contact .wizard__block-text { font-size: 0.875rem; line-height: 1.6; color: var(--c-ink); }
/* 8ステップ化に合わせて進捗ドットを縮める */
.contact .wizard__progress { gap: 0.25rem; }
.contact .wizard__progress-dot { width: 1.65rem; height: 1.65rem; font-size: 0.78rem; }
.contact .wizard__progress-line { min-width: 0.3rem; }
/* 021：信用情報の追加質問（STEP5内で分岐して表示） */
.contact .wizard__sub {
  margin: -0.5rem 0 1.25rem;
  padding: 1rem 1rem 0.1rem;
  border-radius: 12px;
  background: var(--c-cream);
}
.contact .wizard__sub[hidden] { display: none; }
.contact .wizard__sub-title { font-weight: 700; font-size: 0.95rem; line-height: 1.5; color: var(--c-ink); margin-bottom: 0.3rem; }
.contact .wizard__sub .wizard__step-help { margin-bottom: 0.75rem; }
.contact .wizard__sub .wizard__options { margin-bottom: 1rem; }
/* 021：集中モード（回答を始めたらフォームを最前面に出し、背景を暗くする） */
.contact .wizard__header { position: relative; }
.contact .wizard__close { display: none; }
html.wizard-focus, html.wizard-focus body { overflow: hidden; }
html.wizard-focus .floating-cta { display: none; }
/* 親の .reveal に transform が残っていると固定表示の基準がずれるため外す */
html.wizard-focus .contact .reveal { transform: none; opacity: 1; transition: none; }
.wizard-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(10, 16, 40, 0.6);
  animation: wizardFade 0.25s ease;
}
.contact .wizard.is-focus {
  position: fixed;
  z-index: 190;
  top: 10px;
  top: max(10px, env(safe-area-inset-top, 0px));
  left: 10px;
  right: 10px;
  max-width: 560px;
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: wizardPop 0.25s ease;
}
.contact .wizard.is-focus .wizard__header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-right: 2.75rem;
  padding-left: 2.75rem;
}
.contact .wizard.is-focus .wizard__close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}
@media (min-width: 768px) {
  .contact .wizard.is-focus { top: 32px; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
}
@keyframes wizardFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wizardPop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
