/* ============================================
   AI Team — Site-wide layout & components
   ============================================ */

* { box-sizing: border-box; }
body { margin: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(58, 45, 32, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(245, 235, 216, 0.08);
}
.site-header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.site-header__logo {
  line-height: 1; color: var(--color-cream-base); text-decoration: none;
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px;
}
.site-header__logo-main { display: inline-flex; align-items: center; gap: 5px; }
.site-header__logo-pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-kaki); color: var(--color-cream-base);
  font-weight: 900; font-size: 18px; letter-spacing: 0.02em; line-height: 1;
  padding: 4px 7px; border-radius: 6px;
}
.site-header__logo-team { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; color: var(--color-cream-base); }
.site-header__logo-by { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; color: rgba(245, 235, 216, 0.6); line-height: 1; }
@media (max-width: 480px) {
  .site-header__logo { gap: 0; }
  .site-header__logo-by { display: none; }
  .site-header__logo-pill { font-size: 16px; padding: 3px 6px; border-radius: 5px; }
  .site-header__logo-team { font-size: 20px; }
}
.site-header__nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.site-header__nav a { color: rgba(245, 235, 216, 0.85); text-decoration: none; transition: color 0.15s; }
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { color: var(--color-kaki); }
@media (max-width: 720px) {
  .site-header__nav { display: none; }
}

.line-btn {
  background: #06C755; color: #fff; border: none;
  padding: 10px 18px; border-radius: 10px;
  font-family: inherit; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.line-btn:hover { background: #05B14C; color: #fff; }
.line-btn--lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }

/* ===== Section primitives ===== */
.section { padding: var(--space-section) 0; position: relative; overflow: hidden; }
.section--alt { background: var(--bg-2); }
.section--warm { background: var(--bg-3); }
.section--dark {
  background: var(--color-dark-brown);
  color: var(--color-cream-base);
}
.section--dark .section__title,
.section--dark h2, .section--dark h3 { color: var(--color-cream-base); }
.section--dark .section__lede,
.section--dark p { color: rgba(245, 235, 216, 0.85); }
.section--dark .section__eyebrow { color: #F0B89A; }
.section--accent {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 60%),
    var(--color-kaki);
  color: var(--color-cream-base);
}
.section--accent::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'><g fill='none' stroke='%23FBF6EC' stroke-width='1.2' opacity='0.5'><circle cx='100' cy='350' r='60'/><circle cx='100' cy='350' r='110'/><circle cx='700' cy='50' r='60'/><circle cx='700' cy='50' r='110'/></g></svg>");
  background-size: cover; background-position: center;
}
.section--accent .section__title { color: var(--color-cream-base); }
.section--accent .section__lede { color: rgba(251,246,236,0.85); }
.section--accent .section__eyebrow { color: rgba(251,246,236,0.75); }

.section__inner { max-width: var(--content-max); margin: 0 auto; padding: 0 24px; }
.section__inner--narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 24px; }
.section__head { text-align: center; margin-bottom: 40px; }
.section__eyebrow {
  font-size: 12px; letter-spacing: 0.12em; color: var(--color-kaki);
  font-weight: 700; text-transform: uppercase;
}
.section__title { font-size: var(--fs-h1); margin: 8px 0 12px 0; line-height: 1.3; font-weight: 700; }
.section__lede { font-size: var(--fs-lg); line-height: 1.85; color: var(--fg-2); max-width: 36em; margin: 0 auto; }
.section > * { position: relative; z-index: 1; }

/* ===== Decorative backdrops ===== */
.deco--dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(circle at 1px 1px, rgba(74, 58, 42, 0.10) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.deco--rings::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 480px; height: 480px;
  pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'><g fill='none' stroke='%23E97444' stroke-width='1' opacity='0.18'><circle cx='240' cy='240' r='80'/><circle cx='240' cy='240' r='130'/><circle cx='240' cy='240' r='180'/><circle cx='240' cy='240' r='230'/></g></svg>");
  background-repeat: no-repeat;
}
.deco--grid-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(245, 235, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 235, 216, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.deco--quote::before {
  content: ""; position: absolute; top: 32px; left: 6%; width: 240px; height: 240px;
  pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text x='0' y='90' font-family='Georgia,serif' font-size='160' fill='none' stroke='%23E97444' stroke-width='1.2'>“</text></svg>");
  background-repeat: no-repeat; background-size: contain;
}
.deco--stripes::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: repeating-linear-gradient(45deg, transparent 0 18px, rgba(74,58,42,0.05) 18px 19px);
}

/* ===== Page hero (sub-pages) ===== */
.page-hero {
  background: var(--bg-3);
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: radial-gradient(circle at 1px 1px, rgba(74, 58, 42, 0.10) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.page-hero__inner { max-width: var(--content-max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.page-hero__crumbs { font-size: 13px; color: var(--fg-2); margin-bottom: 18px; }
.page-hero__crumbs a { color: var(--fg-2); text-decoration: none; }
.page-hero__crumbs a:hover { color: var(--color-kaki); }
.page-hero__crumbs span { margin: 0 8px; opacity: 0.5; }
.page-hero__eyebrow {
  display: inline-block; font-size: 14px; letter-spacing: 0.02em;
  color: var(--color-kaki); font-weight: 700;
  margin-bottom: 12px; line-height: 1.7; max-width: 32em;
}
.page-hero__title {
  font-size: var(--fs-h1); line-height: 1.35; font-weight: 700;
  margin: 0 0 16px 0; max-width: 22em;
}
.page-hero__sub {
  font-size: var(--fs-lg); line-height: 1.85; color: var(--fg-1);
  margin: 0; max-width: 32em;
}

/* ===== Service eyecatch hero (sub-pages) ===== */
.page-hero--eyecatch .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.page-hero--eyecatch .page-hero__media {
  position: relative;
}
.page-hero--eyecatch .page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(74, 58, 42, 0.10);
  background: var(--bg-2);
}
.page-hero--eyecatch .page-hero__media::after {
  content: ""; position: absolute; left: -8px; top: -8px;
  width: 56px; height: 56px;
  border-top: 2px solid var(--color-kaki);
  border-left: 2px solid var(--color-kaki);
  border-radius: 16px 0 0 0;
  opacity: 0.55;
  pointer-events: none;
}
.page-hero--eyecatch .page-hero__media::before {
  content: ""; position: absolute; right: -8px; bottom: -8px;
  width: 56px; height: 56px;
  border-bottom: 2px solid var(--color-kaki);
  border-right: 2px solid var(--color-kaki);
  border-radius: 0 0 16px 0;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 880px) {
  .page-hero--eyecatch .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== Inline figure inside prose (problem / agitation / solution) ===== */
.prose-figure {
  margin: 36px 0 32px;
  position: relative;
}
.prose-figure__frame {
  background: var(--bg-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(74, 58, 42, 0.08);
}
.prose-figure__frame img {
  display: block;
  width: 100%;
  height: auto;
}
.prose-figure__cap {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.7;
  margin: 12px 4px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.prose-figure__cap::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 18px;
  background: var(--color-kaki);
  margin-top: 3px;
  border-radius: 2px;
}

/* ===== Visual CTA card (replacement for inline-cta on service pages) =====
   Stacked layout: full illustration on top, copy + buttons below.
   The cta illustrations are 3:2 landscape, so cropping side-by-side cuts off
   the characters. Stacking shows the whole scene like a poster. */
.visual-cta {
  margin: 56px 0 32px;
  background: var(--bg-3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(74, 58, 42, 0.06);
}
.visual-cta__media {
  background: var(--bg-2);
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.visual-cta__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.visual-cta__media::after {
  /* soft fade into the body for visual continuity */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(245, 235, 216, 0), var(--bg-3));
  pointer-events: none;
}
.visual-cta__body {
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.visual-cta__btns { justify-content: center; }
.visual-cta__lead { max-width: 32em; }
@media (min-width: 880px) {
  .visual-cta__media { aspect-ratio: 3 / 2; }
}
.visual-cta__eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-kaki);
  text-transform: uppercase;
}
.visual-cta__title {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0;
}
.visual-cta__lead {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--fg-2);
  margin: 0;
}
.visual-cta__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .visual-cta__title { font-size: 19px; }
}

/* ===== Cross-sell nav grid (bottom of each service page) ===== */
.nav-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--fg-1);
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 8px rgba(74, 58, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 58, 42, 0.10);
  border-color: var(--border-default);
  color: var(--fg-1);
}
.nav-card__thumb {
  display: block;
  background: var(--bg-2);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}
.nav-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.nav-card:hover .nav-card__thumb img {
  transform: scale(1.04);
}
.nav-card__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-card__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--fg-1);
}
.nav-card__sub {
  font-size: 11px;
  line-height: 1.55;
  color: var(--fg-2);
}
.nav-card.is-current {
  border-color: var(--color-kaki);
  background: var(--bg-3);
  pointer-events: none;
}
.nav-card.is-current::after {
  content: "現在のページ";
  position: absolute;
  top: 8px; right: 8px;
  background: var(--color-kaki);
  color: var(--color-cream-base);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 7px;
  border-radius: 999px;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(74, 58, 42, 0.18);
}
@media (max-width: 1024px) {
  .nav-card.is-current::after { font-size: 11px; padding: 4px 9px; top: 10px; right: 10px; }
}
.nav-card.is-current .nav-card__thumb {
  position: relative;
}
@media (max-width: 1024px) {
  .nav-services { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .nav-card__body { padding: 14px 16px 18px; gap: 5px; }
  .nav-card__title { font-size: 15px; }
  .nav-card__sub { font-size: 12px; }
}
@media (max-width: 700px) {
  .nav-services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .nav-services { grid-template-columns: 1fr; }
}

/* ===== Long-form prose (service article body) ===== */
.prose { max-width: var(--content-narrow); margin: 0 auto; }
.prose p {
  font-size: var(--fs-base); line-height: var(--lh-body);
  margin: 0 0 1.4em 0; color: var(--fg-1);
}
.prose p.prose__lead {
  font-size: var(--fs-lg); font-weight: 500; color: var(--fg-1);
}
.prose h2 {
  font-size: var(--fs-h2); margin: 64px 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--color-kaki);
  line-height: 1.5;
}
.prose h3 { font-size: var(--fs-h3); margin: 40px 0 16px; line-height: 1.5; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose ul li, .prose ol li { margin-bottom: 8px; line-height: var(--lh-body); }
.prose blockquote {
  font-family: var(--font-serif); font-size: var(--fs-lg); line-height: 1.85;
  margin: 32px 0; padding: 24px 28px;
  background: var(--bg-2); border-radius: 12px;
  border-left: 4px solid var(--color-kaki);
  color: var(--fg-1);
}
.prose strong { color: var(--fg-1); font-weight: 700; }
.prose hr {
  border: 0; height: 1px; background: var(--border-soft);
  margin: 56px 0;
}
.prose .pull-quote {
  font-family: var(--font-serif); font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 700; line-height: 1.6; color: var(--fg-1);
  text-align: center; margin: 48px auto; max-width: 22em;
  padding: 36px 0; position: relative;
}
.prose .pull-quote::before, .prose .pull-quote::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 60px; height: 2px; background: var(--color-kaki);
}
.prose .pull-quote::before { top: 0; }
.prose .pull-quote::after { bottom: 0; }

/* ===== Inline emphasis: marker / callout / numbered trouble (blog) ===== */
.prose mark {
  background: linear-gradient(transparent 58%, rgba(233, 116, 68, 0.28) 58%);
  color: inherit; font-weight: 600; padding: 0 1px;
}
.prose .callout {
  position: relative; margin: 28px 0; padding: 20px 24px;
  background: var(--bg-2); border-left: 4px solid var(--color-kaki);
  border-radius: 12px; font-size: var(--fs-base); line-height: var(--lh-body);
}
.prose .callout__label {
  display: inline-block; background: var(--color-kaki); color: var(--color-cream-base);
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
  letter-spacing: 0.04em; margin-bottom: 10px;
}
.prose .callout p { margin: 0; color: var(--fg-1); }
.prose .callout p + p { margin-top: 12px; }
.prose .callout strong { color: var(--color-kaki); }
.prose h3.trouble { display: flex; align-items: center; gap: 12px; }
.prose h3.trouble .num {
  flex: 0 0 auto; width: 1.7em; height: 1.7em;
  background: var(--color-kaki); color: var(--color-cream-base);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8em; font-weight: 700; line-height: 1;
}

.prose__table {
  width: 100%; border-collapse: collapse; margin: 24px 0 32px;
  font-size: var(--fs-sm); background: var(--bg-2);
  border-radius: 12px; overflow: hidden;
}
.prose__table th, .prose__table td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.7;
}
.prose__table th {
  background: var(--bg-3); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: 0.04em; color: var(--fg-1);
}
.prose__table tr:last-child td { border-bottom: none; }
.prose__table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Pain checklist */
.pain-list {
  list-style: none; padding: 0; margin: 24px 0 32px;
  display: grid; gap: 12px;
}
.pain-list li {
  background: var(--bg-2); padding: 16px 20px; border-radius: 12px;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: var(--fs-base); line-height: 1.7;
}
.pain-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E97444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
  margin-top: 3px;
}

/* Inline CTA card inside prose */
.inline-cta {
  background: var(--bg-3); border-radius: 16px; padding: 28px 28px;
  text-align: center; margin: 40px 0;
}
.inline-cta__lead { font-size: var(--fs-base); color: var(--fg-1); margin: 0 0 16px; line-height: 1.7; }
.inline-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Postscript block */
.postscript {
  background: var(--bg-3); border-radius: 16px; padding: 36px;
  margin: 48px 0;
}
.postscript__label {
  font-family: var(--font-serif); font-size: var(--fs-lg);
  font-weight: 700; color: var(--color-kaki); margin-bottom: 16px;
}

/* ===== Footer ===== */
footer.site-footer { background: #3A2D20; color: rgba(245, 235, 216, 0.85); padding: 56px 0 28px; }
.footer__logo {
  line-height: 1; display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-cream-base);
}
.footer__logo .meister { font-size: 18px; font-weight: 900; letter-spacing: -0.02em; }
.footer__logo .meister .sub { color: rgba(245, 235, 216, 0.6); }
.footer__logo .pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-kaki); color: var(--color-cream-base);
  font-weight: 900; font-size: 16px; letter-spacing: 0.02em; line-height: 1;
  padding: 4px 7px; border-radius: 6px;
}
.footer__logo .team { font-size: 18px; font-weight: 900; letter-spacing: -0.02em; }
.footer__logo .sep { width: 1px; height: 16px; background: rgba(245, 235, 216, 0.25); margin: 0 2px; }
@media (max-width: 480px) {
  .footer__logo { gap: 6px; }
  .footer__logo .meister, .footer__logo .team { font-size: 16px; }
  .footer__logo .pill { font-size: 14px; padding: 3px 6px; }
}
.footer__inner { max-width: var(--content-max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer__col-title { font-size: 12px; letter-spacing: 0.06em; color: rgba(245, 235, 216, 0.55); text-transform: uppercase; margin-bottom: 12px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__links a { color: rgba(245, 235, 216, 0.85); font-size: 14px; text-decoration: none; }
.footer__links a:hover { color: var(--color-kaki); }
.footer__bottom { max-width: var(--content-max); margin: 36px auto 0; padding: 20px 24px 0; border-top: 1px solid rgba(245, 235, 216, 0.12); font-size: 12px; color: rgba(245, 235, 216, 0.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__col > summary.footer__col-title { list-style: none; outline: none; }
.footer__col > summary.footer__col-title::-webkit-details-marker { display: none; }
.footer__col > summary.footer__col-title::marker { display: none; }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 0; }
  .footer__col { border-top: 1px solid rgba(245, 235, 216, 0.12); }
  .footer__col:last-of-type { border-bottom: 1px solid rgba(245, 235, 216, 0.12); }
  .footer__col > summary.footer__col-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    margin-bottom: 0;
    font-size: 13px;
  }
  .footer__col > summary.footer__col-title::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    color: rgba(245, 235, 216, 0.55);
  }
  .footer__col[open] > summary.footer__col-title::after { content: '−'; }
  .footer__col > .footer__links { padding: 4px 0 14px; }
}

/* ===== Floating LINE on mobile ===== */
.floating-line {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  width: 56px; height: 56px; border-radius: 50%;
  background: #06C755; color: #fff; border: none; cursor: pointer;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
  display: none; align-items: center; justify-content: center;
  text-decoration: none;
}
@media (max-width: 720px) { .floating-line { display: flex; } }

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(74, 58, 42, 0.4);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 20px;
}
.modal-backdrop.is-open { display: flex; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-1); border-radius: 20px;
  max-width: 460px; width: 100%; padding: 32px;
  box-shadow: 0 20px 60px rgba(74, 58, 42, 0.2);
  text-align: center; max-height: 90vh; overflow-y: auto;
}
.modal__title { font-size: 22px; font-weight: 700; margin: 0 0 10px 0; }
.modal__body { font-size: 15px; line-height: 1.85; color: var(--fg-2); margin: 0 0 20px 0; }
.modal__qr {
  width: 200px; height: 200px; margin: 0 auto 20px;
  background: #fff; border-radius: 12px;
  padding: 8px; box-sizing: border-box;
  border: 1px solid var(--border-default);
}
.modal__qr img {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
.modal__close { background: transparent; border: none; color: var(--fg-2); font-size: 14px; cursor: pointer; padding: 8px 16px; margin-top: 8px; }
.modal__close:hover { color: var(--fg-1); }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--color-dark-brown); color: var(--color-cream-base);
  padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 24px rgba(74, 58, 42, 0.3);
  z-index: 300; transition: transform 0.3s ease;
  pointer-events: none;
}
.toast.is-shown { transform: translateX(-50%) translateY(0); }

/* ===== Pain card grid (top page) ===== */
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; max-width: 760px; margin: 0 auto; }
.pain {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; background: var(--color-cream-base); border-radius: 12px;
  box-shadow: var(--shadow-soft);
  font-size: 15px; line-height: 1.7;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pain:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.pain svg { flex-shrink: 0; margin-top: 4px; }
@media (max-width: 720px) { .pains { grid-template-columns: 1fr; } }

/* ===== Service grid (top page) ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-1); border-radius: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 8px rgba(74, 58, 42, 0.04);
  overflow: hidden;
  text-decoration: none; color: var(--fg-1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(74, 58, 42, 0.10); border-color: var(--border-default); color: var(--fg-1); }
.service-card__thumb {
  display: block; aspect-ratio: 3 / 2;
  background: var(--bg-2); overflow: hidden;
}
.service-card__thumb img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.35s ease;
}
.service-card:hover .service-card__thumb img { transform: scale(1.04); }
.service-card__body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.service-card__title { font-size: 19px; font-weight: 700; line-height: 1.45; }
.service-card__desc { font-size: 14px; line-height: 1.75; color: var(--fg-2); flex: 1; margin: 0; }
.service-card__price { display: flex; align-items: baseline; gap: 6px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.service-card__price-num { font-size: 26px; font-weight: 700; color: var(--color-kaki); letter-spacing: -0.01em; }
.service-card__price-unit { font-size: 12px; color: var(--fg-2); }
.service-card__more { font-size: 13px; color: var(--color-kaki); font-weight: 700; padding-top: 4px; }
.service-card__more::after { content: " →"; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ===== Form ===== */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 24px; }
.form__field { display: grid; gap: 8px; }
.form__label {
  font-size: var(--fs-sm); font-weight: 700; color: var(--fg-1);
  display: flex; align-items: center; gap: 8px;
}
.form__required {
  background: var(--color-kaki); color: var(--color-cream-base);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  letter-spacing: 0.04em;
}
.form__optional {
  background: var(--bg-3); color: var(--fg-2);
  font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 4px;
}
.form__hint { font-size: 13px; color: var(--fg-2); line-height: 1.6; }
.form__input, .form__textarea, .form__select {
  font-family: inherit; font-size: var(--fs-base);
  padding: 14px 16px;
  background: var(--color-cream-base);
  border: 1.5px solid var(--border-default);
  border-radius: 10px;
  color: var(--fg-1);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  outline: none;
  border-color: var(--color-kaki);
  box-shadow: 0 0 0 3px rgba(233, 116, 68, 0.12);
}
.form__textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.form__field.is-error .form__input,
.form__field.is-error .form__textarea,
.form__field.is-error .form__select { border-color: #C04A2B; box-shadow: 0 0 0 3px rgba(192, 74, 43, 0.12); }
.form__error { font-size: 13px; color: #C04A2B; font-weight: 500; }
.form__radios, .form__checks { display: grid; gap: 10px; }
.form__radio, .form__check {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px;
  background: var(--color-cream-base);
  border: 1.5px solid var(--border-default);
  border-radius: 10px;
  cursor: pointer;
  font-size: var(--fs-sm); line-height: 1.6;
  transition: background 0.15s, border-color 0.15s;
}
.form__radio:hover, .form__check:hover { background: var(--bg-3); }
.form__radio input, .form__check input { margin-top: 4px; accent-color: var(--color-kaki); }
.form__radio.is-checked, .form__check.is-checked {
  border-color: var(--color-kaki);
  background: rgba(233, 116, 68, 0.06);
}
.form__submit-row {
  display: flex; flex-direction: column; gap: 12px; align-items: center;
  margin-top: 16px;
}
.form__submit-row .ds-btn { min-width: 240px; justify-content: center; }
.form__consent {
  font-size: 13px; color: var(--fg-2); line-height: 1.7; text-align: center;
}
.form__consent a { color: var(--fg-1); text-decoration: underline; }

/* ===== Tweaks panel ===== */
.tw-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 250;
  background: var(--bg-1);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(74, 58, 42, 0.2);
  border: 1px solid var(--border-default);
  width: 280px;
  font-size: 13px;
  display: none;
}
.tw-panel.is-open { display: block; }
.tw-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 700;
}
.tw-panel__close {
  background: transparent; border: none; cursor: pointer;
  font-size: 18px; color: var(--fg-2); line-height: 1;
  padding: 4px;
}
.tw-panel__body { padding: 16px; display: grid; gap: 18px; }
.tw-section { display: grid; gap: 10px; }
.tw-section__label { font-size: 11px; letter-spacing: 0.08em; color: var(--fg-2); font-weight: 700; text-transform: uppercase; }
.tw-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tw-radio {
  padding: 8px 10px;
  background: var(--bg-2);
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer; font-size: 12px; text-align: center;
  font-weight: 500; line-height: 1.4;
  transition: all 0.15s;
}
.tw-radio.is-active {
  border-color: var(--color-kaki);
  background: rgba(233, 116, 68, 0.08);
  color: var(--color-kaki); font-weight: 700;
}
.tw-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; font-size: 13px;
}
.tw-toggle__sw {
  width: 36px; height: 20px; border-radius: 999px;
  background: var(--bg-3); position: relative; cursor: pointer;
  transition: background 0.18s;
}
.tw-toggle__sw::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--fg-2);
  transition: all 0.18s;
}
.tw-toggle__sw.is-on { background: var(--color-kaki); }
.tw-toggle__sw.is-on::after { left: 18px; background: #fff; }

/* ===== Density tweaks ===== */
body[data-density="airy"] { --space-section: clamp(72px, 11vw, 128px); }
body[data-density="compact"] { --space-section: clamp(36px, 5.5vw, 64px); }
body[data-density="airy"] .prose p { margin-bottom: 1.8em; }
body[data-density="compact"] .prose p { margin-bottom: 1em; line-height: 1.7; }

/* ===== Hue tweaks ===== */
body[data-hue="cool"] {
  --color-kaki: #D8784E;
}
body[data-hue="warm"] {
  --color-kaki: #E97444;
}
body[data-hue="muted"] {
  --color-kaki: #BC6B47;
}

/* ===== Photo toggle ===== */
body[data-photos="off"] .opt-photo { display: none !important; }
body[data-photos="off"] .opt-photo-replace { display: block !important; }
.opt-photo-replace { display: none; }


/* ============================================================
   ▼ 商品ページ共通装飾  Voice / FAQ / Compare / Spec / Steps
   ============================================================ */

/* ---------- Voice cards ---------- */
.voice-grid {
  display: grid;
  gap: 20px;
  margin: 24px 0 8px;
}
.voice-grid--col2 { grid-template-columns: repeat(2, 1fr); }
.voice-grid--col1 { grid-template-columns: 1fr; }
@media (max-width: 720px) {
  .voice-grid--col2 { grid-template-columns: 1fr; }
}

/* Variant A: head + body (current style) */
.voice-card {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 4px 16px rgba(74, 58, 42, 0.08);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.voice-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(74, 58, 42, 0.12); }
.voice-card__head { display: flex; align-items: center; gap: 12px; }
.voice-card__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; background: var(--bg-1);
}
.voice-card__name { font-size: 14px; font-weight: 600; color: var(--fg-2); margin: 0; }
.voice-card__title { font-size: 17px; font-weight: 700; line-height: 1.55; margin: 0; color: var(--fg-1); }
.voice-card__quote { font-size: 15px; line-height: 1.85; color: var(--fg-1); margin: 0; }

/* Variant B: large quote-mark + name underneath */
.voice-card--quote {
  position: relative;
  padding-top: 44px;
}
.voice-card--quote::before {
  content: "\201C";
  position: absolute;
  top: -6px; left: 22px;
  font-family: "Noto Serif JP", serif;
  font-size: 84px; line-height: 1;
  color: var(--color-kaki);
  font-weight: 700;
}
.voice-card--quote .voice-card__title {
  font-size: 18px;
}
.voice-card--quote .voice-card__foot {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--border-soft);
  padding-top: 14px; margin-top: 4px;
}
.voice-card--quote .voice-card__avatar { width: 40px; height: 40px; }

/* Variant C: horizontal — avatar left / body right */
.voice-card--row {
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 28px 26px 32px;
  position: relative;
  border-left: 4px solid var(--color-kaki);
  background: var(--bg-2);
}
.voice-card--row::before {
  content: "\201C";
  position: absolute;
  top: 14px; right: 24px;
  font-family: "Noto Serif JP", serif;
  font-size: 76px;
  line-height: 1;
  color: var(--color-kaki);
  opacity: 0.18;
  font-weight: 700;
  pointer-events: none;
}
.voice-card--row .voice-card__avatar {
  width: 72px; height: 72px;
  border: 3px solid var(--bg-1);
  box-shadow: 0 2px 8px rgba(74, 58, 42, 0.12);
}
.voice-card--row .voice-card__body {
  display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0;
}
.voice-card--row .voice-card__name {
  order: 2;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.voice-card--row .voice-card__name::before {
  content: "";
  width: 16px; height: 1px;
  background: var(--color-kaki);
}
.voice-card--row .voice-card__title {
  order: 1;
  font-size: 18px;
  font-family: var(--font-serif, "Noto Serif JP", serif);
  color: var(--color-kaki);
  line-height: 1.5;
}
.voice-card--row .voice-card__quote {
  order: 3;
  font-size: 15px;
  color: var(--fg-1);
}
@media (max-width: 560px) {
  .voice-card--row { flex-direction: column; gap: 14px; }
  .voice-card--row::before { font-size: 56px; top: 8px; right: 16px; }
}


/* ---------- FAQ ---------- */

/* Variant A: Accordion */
.faq-list { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-2);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: 0 4px 14px rgba(74, 58, 42, 0.08); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 14px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-1);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--color-kaki);
  color: var(--color-cream-base);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  margin-top: 1px;
}
.faq-item summary::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 14px; height: 14px;
  border-right: 2px solid var(--fg-2);
  border-bottom: 2px solid var(--fg-2);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: 4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 8px; }
.faq-item__body {
  padding: 4px 24px 22px 66px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-1);
}
.faq-item__body p { margin: 0; }

/* Variant B: Always-open Q badge + light beige body */
.faq-list--open .faq-item { background: transparent; border: none; }
.faq-list--open .faq-item summary { cursor: default; padding: 0 0 12px 0; }
.faq-list--open .faq-item summary::after { display: none; }
.faq-list--open .faq-item__body {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 18px 22px 18px 22px;
  margin-left: 42px;
}
.faq-list--open .faq-item { margin-bottom: 18px; }

/* Variant C: Card grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-card {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 28px 26px 24px;
  box-shadow: 0 2px 8px rgba(74, 58, 42, 0.06);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  border-top: 3px solid var(--color-kaki);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(74, 58, 42, 0.12);
}
.faq-card::before {
  content: "?";
  position: absolute;
  top: -2px; right: 18px;
  font-family: "Noto Serif JP", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--color-kaki);
  opacity: 0.12;
  font-weight: 700;
  pointer-events: none;
}
.faq-card__q {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-1);
  margin: 0;
  display: flex; gap: 12px; align-items: flex-start;
  padding-right: 30px;
}
.faq-card__q::before {
  content: "Q";
  background: var(--color-kaki);
  color: var(--color-cream-base);
  font-size: 12px;
  font-weight: 800;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: "Noto Sans JP", sans-serif;
  margin-top: 2px;
}
.faq-card__a {
  font-size: 14px;
  line-height: 1.85;
  color: var(--fg-1);
  margin: 0;
  padding: 14px 0 0 38px;
  border-top: 1px solid var(--border-soft);
  position: relative;
}
.faq-card__a::before {
  content: "A";
  position: absolute;
  left: 0; top: 14px;
  background: var(--bg-3);
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 800;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
}


/* ---------- Compare table ---------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 15px;
  background: var(--bg-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(74, 58, 42, 0.06);
}
.compare-table th, .compare-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.compare-table thead th {
  background: var(--bg-3);
  font-weight: 700;
  font-size: 14px;
  color: var(--fg-2);
  border-bottom: 1px solid var(--border-soft);
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--fg-2);
  background: var(--bg-3);
  border-right: 1px solid var(--border-soft);
  width: 22%;
  white-space: nowrap;
}
.compare-table tbody tr + tr th,
.compare-table tbody tr + tr td { border-top: 1px solid var(--border-soft); }
.compare-table .compare-table__highlight {
  background: rgba(233, 116, 68, 0.06);
  border-left: 3px solid var(--color-kaki);
  font-weight: 600;
  color: var(--fg-1);
}
.compare-table thead .compare-table__highlight {
  background: var(--color-kaki);
  color: var(--color-cream-base);
  border-left: none;
}


/* ---------- Spec sheet (料金・概要) ---------- */
.spec-sheet {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 8px 28px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(74, 58, 42, 0.06);
}
.spec-sheet__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
.spec-sheet__row:last-child { border-bottom: none; }
.spec-sheet__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0.02em;
}
.spec-sheet__value {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-1);
}
.spec-sheet__value--big {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-kaki);
  line-height: 1.2;
}
.spec-sheet__value--big small {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  margin-left: 6px;
}
@media (max-width: 560px) {
  .spec-sheet__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}


/* ---------- Step timeline ---------- */
.step-timeline {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  position: relative;
}
.step-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--border-soft);
}
.step-timeline__item {
  position: relative;
  padding: 0 0 28px 64px;
}
.step-timeline__item:last-child { padding-bottom: 0; }
.step-timeline__num {
  position: absolute;
  left: 0; top: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--color-kaki);
  color: var(--color-kaki);
  font-weight: 800;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
}
.step-timeline__item--break .step-timeline__num {
  background: var(--bg-3);
  border-color: var(--border-soft);
  color: var(--fg-2);
}
.step-timeline__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 8px 0 8px 0;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.step-timeline__duration {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  background: var(--bg-3);
  padding: 3px 10px;
  border-radius: 999px;
}
.step-timeline__body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-1);
  margin: 0;
}
.step-timeline__body + .step-timeline__body { margin-top: 12px; }


/* ============================================================
   ▼ Variant B/C extracted from service-setup.html (shared)
   ============================================================ */

/* Compare cards (Variant B) */
.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
  align-items: stretch;
}
@media (max-width: 720px) { .compare-cards { grid-template-columns: 1fr; } }
.compare-cards--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 900px) { .compare-cards--3 { grid-template-columns: 1fr; } }
.compare-card {
  border-radius: 16px;
  padding: 28px 26px 24px;
  box-shadow: 0 2px 10px rgba(74, 58, 42, 0.06);
  position: relative;
}
.compare-card--neutral { background: var(--bg-2); opacity: 0.85; }
.compare-card--accent {
  background: var(--bg-2);
  border: 2px solid var(--color-kaki);
  box-shadow: 0 8px 24px rgba(208, 90, 44, 0.15);
  transform: translateY(-4px);
}
@media (max-width: 720px) { .compare-card--accent { transform: none; } }
.compare-card--accent::before {
  content: "\2713 \3053\306e\30b5\30fc\30d3\30b9";
  position: absolute;
  top: -14px; left: 22px;
  background: var(--color-kaki);
  color: var(--color-cream-base);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(208, 90, 44, 0.3);
}
.compare-card__head {
  font-size: 14px; font-weight: 700; color: var(--fg-2);
  margin: 0 0 16px 0; padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.compare-card--accent .compare-card__head { color: var(--color-kaki); font-size: 16px; }
.compare-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.compare-card__list li { font-size: 14px; line-height: 1.7; color: var(--fg-1); }
.compare-card__list li strong {
  display: block; font-size: 11px; color: var(--fg-2);
  font-weight: 600; margin-bottom: 4px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.compare-card--accent .compare-card__list li { font-weight: 600; }
.compare-card--accent .compare-card__list li strong { color: var(--color-kaki); }


/* Spec highlight cards (Variant B) */
.spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 18px;
}
@media (max-width: 720px) { .spec-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .spec-cards { grid-template-columns: 1fr; } }
.spec-card {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(74, 58, 42, 0.06);
  position: relative;
  overflow: hidden;
}
.spec-card--hero {
  background: linear-gradient(135deg, var(--color-kaki) 0%, #d05a2c 100%);
  color: var(--color-cream-base);
  box-shadow: 0 6px 22px rgba(208, 90, 44, 0.28);
}
.spec-card--hero::before {
  content: ""; position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.spec-card--hero::after {
  content: ""; position: absolute;
  bottom: -30px; left: -30px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.spec-card--hero .spec-card__label { color: rgba(245, 235, 216, 0.85); }
.spec-card--hero .spec-card__value { color: var(--color-cream-base); font-size: 30px; font-weight: 800; }
.spec-card--hero .spec-card__value small { color: rgba(245, 235, 216, 0.8); }
.spec-card__label {
  font-size: 12px; font-weight: 600; color: var(--fg-2);
  letter-spacing: 0.04em; margin: 0 0 8px 0;
}
.spec-card__value {
  font-size: 22px; font-weight: 700;
  color: var(--color-kaki); line-height: 1.3;
  margin: 0; position: relative;
}
.spec-card__value small {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--fg-2); margin-top: 4px;
}
.spec-card--text { background: var(--bg-2); }
.spec-card--text .spec-card__value { font-size: 15px; color: var(--fg-1); font-weight: 600; }
.spec-cards__sub {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 480px) { .spec-cards__sub { grid-template-columns: 1fr; } }


/* Step cards (Variant B) */
.step-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
@media (max-width: 720px) { .step-cards { grid-template-columns: 1fr; } }
.step-card {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 26px 24px 22px;
  box-shadow: 0 2px 8px rgba(74, 58, 42, 0.06);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(74, 58, 42, 0.12);
}
.step-card__visual {
  position: absolute; top: 18px; right: 18px;
  width: 64px; height: 64px;
  color: var(--color-kaki); opacity: 0.18;
  pointer-events: none;
}
.step-card__visual svg { width: 100%; height: 100%; display: block; }
.step-card--break {
  grid-column: 1 / -1;
  background: repeating-linear-gradient(
    135deg,
    var(--bg-3) 0px,
    var(--bg-3) 12px,
    var(--bg-2) 12px,
    var(--bg-2) 24px
  );
  text-align: center;
  padding: 18px 14px;
  font-size: 14px;
  color: var(--fg-2);
  font-weight: 600;
}
.step-card--break:hover { transform: none; }
.step-card__head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.step-card__num {
  background: var(--color-kaki);
  color: var(--color-cream-base);
  font-weight: 800; font-size: 12px;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.step-card__duration {
  font-size: 12px; color: var(--fg-2);
  background: var(--bg-3);
  padding: 3px 10px; border-radius: 999px;
}
.step-card__title {
  font-size: 18px; font-weight: 700; color: var(--fg-1);
  margin: 0; line-height: 1.4;
  position: relative; z-index: 1;
  padding-right: 60px;
}
.step-card__body {
  font-size: 14px; line-height: 1.85; color: var(--fg-1);
  margin: 0; position: relative; z-index: 1;
}
