:root {
  --ink: #0f1729;
  --ink-soft: #2a3555;
  --muted: #5b6782;
  --line: #e6e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fd;
  --bg-alt: #0b1020;
  --brand: #E85814;
  --brand-700: #9A3A08;
  --brand-600: #C94911;
  --brand-500: #EF6820;
  --brand-400: #F78B4C;
  --brand-100: #FFE0CA;
  --brand-50: #FFF4EB;
  --accent: #F5A623;
  --accent-600: #DD8C0C;
  --accent-50: #FFF7E6;
  --success: #10b981;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 41, .05), 0 1px 3px rgba(15, 23, 41, .04);
  --shadow-md: 0 6px 18px rgba(15, 23, 41, .08), 0 2px 6px rgba(15, 23, 41, .05);
  --shadow-lg: 0 20px 40px -12px rgba(232, 88, 20, .22), 0 8px 20px -8px rgba(15, 23, 41, .08);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-display: "Playfair Display", serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: .01em; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 960px; }
.pc-only { display: inline; }
@media (max-width: 720px) { .pc-only { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-xl { padding: 18px 34px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 24px 48px -14px rgba(232, 88, 20, .4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 20px 0;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  min-width: 0;
}
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 100%;
  flex: none;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-logo-img { transform: scale(1.04); }
@media (max-width: 720px) {
  .header-inner { min-height: 80px; padding: 16px 0; }
  .brand-logo-img { height: 40px; }
}
@media (max-width: 400px) {
  .header-inner { min-height: 72px; padding: 15px 0; }
  .brand-logo-img { height: 34px; }
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 24px; }
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-list a:hover { color: var(--brand); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 80px 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    /* パネル高さに関わらず確実に viewport 上に隠す（自身の高さ＋top オフセット 80px を超えて移動）*/
    transform: translateY(calc(-100% - 100px));
    transition: transform .3s ease, visibility 0s linear .3s;
    visibility: hidden;
  }
  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .3s ease, visibility 0s linear 0s;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 16px 4px; font-size: 15px; }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 14px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f8fd 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.blob-1 {
  width: 520px; height: 520px;
  top: -120px; right: -140px;
  background: radial-gradient(circle at 30% 30%, #FFC89D, transparent 70%);
}
.blob-2 {
  width: 440px; height: 440px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle at 60% 40%, #FFE3BF, transparent 70%);
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,41,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,41,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.hero-inner {
  position: relative;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: -.005em;
  line-height: 1.25;
  margin: 0 0 24px;
}
.hero-title-line { display: block; }
.hero-title .highlight em {
  background: linear-gradient(120deg, transparent 0 55%, rgba(255, 178, 76, .45) 55% 92%, transparent 92%);
  padding: 0 .1em;
  color: var(--ink);
}
.hero-lead {
  color: var(--ink-soft);
  font-size: clamp(15px, 2.2vw, 17px);
  margin: 0 auto 36px;
  max-width: 720px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 32px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  position: relative;
}
.hero-stats::before {
  content: "";
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
}
.hero-stats > div {
  text-align: center;
  position: relative;
}
.hero-stats > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%; bottom: 12%; right: -16px;
  width: 1px;
  background: var(--line);
}
.hero-stats dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.hero-stats dd { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.hero-stats .num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -.02em;
  line-height: 1;
}
.hero-stats .unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero-stats-note {
  max-width: 880px;
  margin: 8px auto 0;
  padding: 0 4px;
  text-align: right;
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .hero-stats > div:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 120px 0 60px; }
  .hero-stats { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .hero-stats > div:not(:last-child) { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
}

/* ---------- Trust bar ---------- */
.trust {
  padding: 40px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.trust-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  margin: 0 0 16px;
}
.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.trust-tags li {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--bg);
  transition: border-color .2s, color .2s;
}
.trust-tags li:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }
/* flow.html では PHASE 01 / PHASE 02 の段差を強調するためブランド寄りの背景に */
.page-flow .section-alt { background: var(--brand-50); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 14px;
  letter-spacing: .28em;
  margin-bottom: 12px;
}
.section-kicker.light { color: var(--accent); }
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -.005em;
  margin: 0 0 16px;
}
.section-title em {
  position: relative;
  color: var(--brand);
}
.section-sub { color: var(--muted); margin: 0; }

/* ---------- Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 104, 32, .06), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 10px;
}
.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ---------- Flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.flow-step-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--brand);
  margin-bottom: 14px;
  font-weight: 700;
}
.flow-step h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 8px;
}
.flow-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}
.flow-step::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--brand);
  font-weight: 700;
}
.flow-step:last-child::after { display: none; }
@media (max-width: 880px) {
  .flow-step::after { display: none; }
}

/* ---------- Metrics ---------- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.metric-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 32px 28px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 180px;
}
.metric-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1;
}
.metric-num small {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
  font-family: var(--font-jp);
}
.metric-label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Voices ---------- */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.voice-card {
  margin: 0;
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.voice-card::before {
  content: "“";
  position: absolute;
  top: 14px; left: 22px;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--brand-50);
  line-height: 1;
  pointer-events: none;
}
.voice-card blockquote {
  position: relative;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
}
.voice-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.voice-card figcaption strong { color: var(--ink); font-size: 14px; }
.voice-card figcaption span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(232, 88, 20, .08);
}
.faq summary {
  list-style: none;
  position: relative;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--brand);
  font-weight: 300;
  transition: transform .25s ease;
}
.faq details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq details p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  margin: 0;
  padding: 80px 0;
  background: linear-gradient(135deg, #2a0f05 0%, #7a2a0a 55%, #C94911 100%);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 178, 76, .25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(239, 104, 32, .4), transparent 50%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-copy { max-width: 620px; }
.cta-copy h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 900;
  margin: 10px 0 14px;
  line-height: 1.3;
}
.cta-copy p { margin: 0; color: rgba(255,255,255,.78); }
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .cta { padding: 64px 0; }
  .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Company list ---------- */
.company-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.company-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.company-list > div:last-child { border-bottom: none; }
.company-list dt {
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.company-list dd {
  margin: 0;
  color: var(--ink);
}
@media (max-width: 600px) {
  .company-list > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  color: rgba(255,255,255,.78);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding: 96px 0 40px;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-logo-img {
  height: 40px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 18px -8px rgba(232, 88, 20, .45);
}
.footer-tag {
  margin-top: 18px;
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
  line-height: 1.8;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-nav h4 {
  font-size: 13px;
  color: #fff;
  letter-spacing: .12em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom small { color: rgba(255,255,255,.5); font-size: 12.5px; }
.legal { display: flex; gap: 18px; }
.legal a { color: rgba(255,255,255,.6); font-size: 12.5px; }
.legal a:hover { color: #fff; }

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 80px 0 32px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* Reveal defaults are defined in the ANIMATION ENHANCEMENTS block below. */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Current nav state ---------- */
.nav-list a.is-current,
.nav-list a[aria-current="page"] { color: var(--brand); }
.nav-list a.is-current::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Section footnote / text link ---------- */
.section-footnote { text-align: center; margin: 48px 0 0; }
.text-link {
  color: var(--brand);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.text-link:hover { border-bottom-color: currentColor; }

/* ---------- Service card link state ---------- */
a.service-card { display: block; color: inherit; }
.service-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .04em;
}

/* ---------- Challenges (pain points) ---------- */
.challenges {
  position: relative;
  padding: 100px 0 120px;
  background: radial-gradient(ellipse at top, #111a2f 0%, #0b1020 60%, #090d1a 100%);
  color: #fff;
  overflow: hidden;
}
.challenges::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 178, 76, .18), transparent 45%),
    radial-gradient(circle at 95% 85%, rgba(239, 104, 32, .22), transparent 45%);
  pointer-events: none;
}
.challenges .container { position: relative; }
.challenges .section-head { margin-bottom: 48px; }
.challenges .section-kicker { color: var(--accent); }
.challenges-title {
  color: #fff;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.35;
}
.challenges-title em {
  color: var(--accent);
  background:
    linear-gradient(transparent 55%, rgba(255, 178, 76, .2) 55%);
  padding: 0 .08em;
}
.challenges .section-sub { color: rgba(255,255,255,.72); }

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.challenge-card {
  position: relative;
  padding: 32px 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.challenge-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255, 178, 76, .5);
}
.challenge-number {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
  font-weight: 700;
}
.challenge-card h3 {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.55;
}
.challenge-card p {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  line-height: 1.85;
}
.challenges-arrow {
  display: flex;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
.challenges-solve {
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(135deg, rgba(255, 178, 76, .14), rgba(239, 104, 32, .18));
  border: 1px solid rgba(255, 178, 76, .35);
  border-radius: var(--radius-lg);
}
.solve-kicker {
  margin: 0 0 6px;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  font-weight: 700;
}
.solve-title {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: .01em;
}
.solve-title em { color: var(--accent); }

/* ---------- Pillars (Why) ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.pillar-card {
  position: relative;
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(232, 88, 20, .10), transparent 70%);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-illus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}
.pillar-card h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.pillar-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

/* ---------- Page header (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #f6f8fd 0%, #ffffff 100%);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(239, 104, 32, .12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 178, 76, .14), transparent 45%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand);
  font-size: 15px;
  letter-spacing: .28em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  margin: 0 0 14px;
  letter-spacing: -.005em;
}
.page-hero p {
  margin: 0 auto;
  color: var(--ink-soft);
  max-width: 620px;
}

/* ---------- Breadcrumb ---------- */
.crumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 24px;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }

/* ---------- Two-column "story" block ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story.reversed { grid-template-columns: 1fr 1fr; }
.story.reversed .story-copy { order: 2; }
.story.reversed .story-visual { order: 1; }
@media (max-width: 860px) {
  .story, .story.reversed { grid-template-columns: 1fr; gap: 32px; }
  .story.reversed .story-copy { order: 0; }
  .story.reversed .story-visual { order: 0; }
}
.story-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.story-copy h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.4;
}
.story-copy p {
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.9;
}
.story-copy ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.story-copy ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.story-copy ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  background: var(--brand-50);
  border-radius: 50%;
}
.story-copy ul li::after {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.story-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.story-visual::before, .story-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.story-visual::before {
  width: 220px; height: 220px;
  background: rgba(255,255,255,.35);
  top: -40px; right: -40px;
}
.story-visual::after {
  width: 180px; height: 180px;
  background: rgba(255, 178, 76, .5);
  bottom: -40px; left: -40px;
}
.story-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
}
.story-visual-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.story-visual-text {
  font-size: 15px;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.85);
}

/* ---------- Service detail blocks ---------- */
.service-detail {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:nth-child(even) { background: var(--bg-soft); }

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.service-feature {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.service-feature h4 {
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--brand);
}
.service-feature p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ---------- Timeline (flow page) ---------- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 36px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand) 0%, var(--accent) 100%);
}
.timeline-step {
  position: relative;
  padding: 0 0 48px 28px;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -32px; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step-num {
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 13px;
  letter-spacing: .22em;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-step h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 8px;
}
.timeline-step p {
  color: var(--ink-soft);
  margin: 0 0 8px;
  line-height: 1.85;
}
.timeline-step-dur {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}

/* ---------- Contact form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}
.contact-form {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 22px; }
.field label,
.field-industry > legend {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  padding: 0;
}
.field .req {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: #fff;
  background: var(--brand);
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: 2px;
  white-space: nowrap;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  min-height: 48px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.check > input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}
.check > label {
  margin: 0;
  flex: 1;
  text-align: left;
  line-height: 1.5;
}
.form-actions { text-align: center; margin-top: 12px; }

.contact-aside h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 12px;
}
.contact-aside p {
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.9;
}
.contact-info {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-info dt {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.contact-info dd {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
}
.contact-info dd:last-child { margin-bottom: 0; }
.contact-info .contact-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
  transition: border-color .2s ease, opacity .2s ease;
}
.contact-info .contact-link:hover {
  color: #fff;
  border-bottom-color: #fff;
  opacity: .9;
}
.footer-tel {
  color: inherit;
  border-bottom: 1px dotted rgba(255,255,255,.3);
  transition: border-color .2s ease;
}
.footer-tel:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.6);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-social a:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  transform: translateY(-1px);
}
.footer-social svg { display: block; }

/* ---------- News list ---------- */
.news-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.news-item:hover { background: var(--bg-soft); }
.news-date {
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 14px;
}
.news-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  background: var(--brand-50);
  color: var(--brand);
  border-radius: 999px;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
}
.news-tag.tag-update { background: #fff1e0; color: #c27105; }
.news-tag.tag-event { background: #e8faef; color: #0a7b48; }
.news-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.news-item:hover .news-title { color: var(--brand); }
@media (max-width: 640px) {
  .news-item {
    grid-template-columns: auto auto 1fr;
    gap: 10px 12px;
    row-gap: 8px;
    padding: 20px 8px;
  }
  .news-title { grid-column: 1 / -1; line-height: 1.55; }
}

/* ---------- Story cards (company values) ---------- */
.story-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.story-card {
  padding: 32px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 700;
}
.story-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
}
.story-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- Address block ---------- */
.footer-address {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,.55);
  font-style: normal;
}

/* ---------- Voices page extras ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  position: relative;
  overflow: hidden;
}
.case-thumb::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  letter-spacing: .05em;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.case-thumb.theme-amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.case-thumb.theme-emerald { background: linear-gradient(135deg, #059669, #34d399); }
.case-thumb.theme-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }
.case-thumb.theme-indigo { background: linear-gradient(135deg, #4338ca, #818cf8); }
.case-thumb.theme-slate { background: linear-gradient(135deg, #334155, #64748b); }
.case-body { padding: 24px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.case-tags li {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--brand-50);
  color: var(--brand);
  border-radius: 999px;
  font-weight: 700;
}
.case-body h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.5;
}
.case-body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}
.case-result {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.case-result strong { color: var(--brand); font-family: var(--font-display); font-size: 18px; }

/* =============================================================
   ANIMATION ENHANCEMENTS
   ============================================================= */

/* ---------- Hero title char reveal ---------- */
.reveal-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(.6em);
  animation: char-rise .7s cubic-bezier(.2,.8,.2,1) forwards;
}
/* per-char delay is set inline from JS */
@keyframes char-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Animated hero blobs ---------- */
.hero .blob {
  animation: blob-drift 18s ease-in-out infinite alternate;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}
.hero .blob-1 { animation-delay: 0s; }
.hero .blob-2 { animation-delay: -6s; animation-duration: 22s; }
@keyframes blob-drift {
  0%   { translate: 0 0;      scale: 1; }
  50%  { translate: 30px -20px; scale: 1.08; }
  100% { translate: -20px 24px; scale: .95; }
}

/* ---------- Animated gradient text accent ---------- */
.hero-title .highlight em {
  background-image: linear-gradient(120deg,
    transparent 0 55%,
    rgba(255, 178, 76, .55) 55% 92%,
    transparent 92%);
  background-size: 200% 100%;
  background-position: 100% 0;
  animation: stroke-in 1.2s cubic-bezier(.8,.2,.2,1) .9s both;
}
@keyframes stroke-in {
  from { background-position: 100% 0; }
  to   { background-position: 0 0; }
}

/* ---------- Card 3D tilt (driven by --rx/--ry from JS) ---------- */
.service-card,
.pillar-card,
.challenge-card,
.case-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
}
.service-card:hover,
.pillar-card:hover,
.challenge-card:hover,
.case-card:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}
/* Spotlight effect following pointer */
.service-card::after,
.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(239, 104, 32, .10),
    transparent 40%
  );
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.service-card:hover::after,
.pillar-card:hover::after { opacity: 1; }

/* ---------- Magnetic buttons ---------- */
.btn-primary,
.btn-xl {
  transform: translate(var(--mag-x, 0), var(--mag-y, 0));
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease;
}
.btn-primary:hover {
  transform: translate(var(--mag-x, 0), calc(var(--mag-y, 0) - 2px));
}

/* ---------- Reveal motion variants ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.story .story-copy.reveal { transform: translateX(-28px); }
.story .story-visual.reveal { transform: translateX(28px); }
.story .story-copy.reveal.is-visible,
.story .story-visual.reveal.is-visible { transform: translateX(0); }

.timeline-step.reveal { transform: translateX(-18px); }
.timeline-step.reveal.is-visible { transform: translateX(0); }

.metric-card.reveal { transform: scale(.96); }
.metric-card.reveal.is-visible { transform: scale(1); }

/* ---------- View Transitions (cross-page nav, MPA) ---------- */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-fade-out .2s ease both;
}
::view-transition-new(root) {
  animation: vt-fade-in .4s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes vt-fade-out {
  to { opacity: 0; transform: translateY(-4px); }
}
@keyframes vt-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.brand { view-transition-name: brand; }

/* ---------- Marquee (optional — trust tags auto-scroll on mobile) ---------- */
@media (max-width: 560px) {
  .trust-tags {
    flex-wrap: nowrap;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    padding: 4px 0;
    animation: marquee 22s linear infinite;
    width: max-content;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
}

/* ---------- Accessible motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal-char,
  .hero .blob,
  .hero-title .highlight em { animation: none !important; }
  .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; }
  .service-card, .pillar-card, .challenge-card, .case-card {
    transform: none !important;
  }
}

/* =============================================================
   APPLICATION (Membership signup) PAGE
   ============================================================= */
.application-section { padding: 64px 0 96px; }
.application-form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.application-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.form-legend {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  width: 100%;
}
.form-step {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand);
  font-size: 16px;
  letter-spacing: .18em;
  font-weight: 700;
}
.form-step-title {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--ink);
}

/* Plan grid */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) {
  .plan-grid { grid-template-columns: 1fr; }
}
.plan-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.plan-option input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}
.plan-option input[type="radio"]:focus-visible + .plan-card {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 30px;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease, background .25s ease;
  height: 100%;
}
.plan-option:hover .plan-card {
  border-color: var(--brand-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.plan-option input[type="radio"]:checked + .plan-card {
  border-color: var(--brand);
  background: linear-gradient(180deg, #FFF9F3 0%, #FFFFFF 100%);
  box-shadow: 0 20px 40px -18px rgba(232, 88, 20, .35);
}
.plan-check {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.plan-option input[type="radio"]:checked + .plan-card .plan-check {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: scale(1.05);
}
.plan-kicker {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  align-self: flex-start;
}
.plan-option-featured .plan-kicker {
  background: var(--accent-50);
  color: var(--accent-600);
}
.plan-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  font-weight: 900;
  color: var(--ink);
  margin: 2px 0 4px;
  letter-spacing: .01em;
}
.plan-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
}
.plan-features {
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--brand-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E85814' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-11'/></svg>");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 6px 14px -4px rgba(232, 88, 20, .45);
}
.plan-option-featured .plan-card {
  border-color: var(--brand-100);
}

/* Application actions */
.application-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
.application-actions .btn { min-width: min(360px, 90%); justify-content: center; }
.application-actions .form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  max-width: 560px;
}

/* Inherit contact page field styles — duplicate here if needed */
.application-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .application-form .field-row { grid-template-columns: 1fr; }
}

/* =============================================================
   APPLICATION PAGE — extended (benefits, pricing, payment, faq)
   ============================================================= */

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
}
@media (max-width: 720px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-item {
  position: relative;
  padding: 28px 26px 28px 86px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
}
.benefit-num {
  position: absolute;
  top: 26px;
  left: 26px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  box-shadow: 0 8px 18px -6px rgba(232, 88, 20, .4);
}
.benefit-item h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 8px;
  line-height: 1.55;
  color: var(--ink);
}
.benefit-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  position: relative;
  padding: 32px 28px;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
}
.pricing-card-featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #FFF9F3 0%, #FFFFFF 100%);
  box-shadow: 0 18px 36px -16px rgba(232, 88, 20, .35);
}
.pricing-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.pricing-card-featured .pricing-tag {
  background: var(--accent-50);
  color: var(--accent-600);
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  margin-bottom: 12px;
}
.price-currency { font-size: 24px; font-weight: 700; color: var(--brand); }
.price-num {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--brand);
}
.price-unit {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 700;
  margin-left: 4px;
}
.pricing-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 6px 14px -4px rgba(232, 88, 20, .45);
  white-space: nowrap;
}

/* Plan price (inside selectable plan card) */
.plan-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--brand);
  letter-spacing: -.005em;
  margin: 6px 0 8px;
}
.plan-price span {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 700;
  margin-left: 4px;
}

/* Payment methods box */
.payment-methods {
  margin-top: 64px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.payment-methods h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 14px;
  color: var(--ink);
}
.payment-methods ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.payment-methods ul li {
  position: relative;
  padding-left: 22px;
}
.payment-methods ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}
.payment-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* Application FAQ */
.application-faq {
  margin-top: 48px;
}
.application-faq h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--ink);
}
.application-faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.application-faq details[open] summary { color: var(--brand); }
.application-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 32px;
  transition: color .2s ease;
}
.application-faq summary::-webkit-details-marker { display: none; }
.application-faq summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-weight: 900;
  font-size: 18px;
  transition: transform .25s ease;
}
.application-faq details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.application-faq details p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* =============================================================
   APPLICATION — extra company-info fields & industry checkboxes
   ============================================================= */

/* Helper text under inputs */
.field-help {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Industry section */
.field-industry { margin-top: 4px; }
.industry-cats {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
  background: #fff;
}
.industry-cat {
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease;
}
.industry-cat[open] {
  background: #fff;
  border-color: var(--brand-100);
  box-shadow: 0 4px 14px -8px rgba(232, 88, 20, .25);
}
.industry-cat summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: color .2s ease;
}
.industry-cat summary::-webkit-details-marker { display: none; }
.industry-cat summary::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
  flex: none;
  transition: transform .25s ease, background-color .2s ease;
}
.industry-cat[open] summary::after { transform: rotate(180deg); }
.industry-cat summary:hover { color: var(--brand); }
.industry-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
  padding: 4px 18px 18px;
}
@media (max-width: 720px) { .industry-options { grid-template-columns: 1fr; } }
.industry-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.5;
  transition: color .15s ease;
}
.industry-options label:hover { color: var(--brand-600); }
.industry-options input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: #fff;
  flex: none;
  cursor: pointer;
  position: relative;
  transition: border-color .15s ease, background .15s ease;
}
.industry-options input[type="checkbox"]:hover { border-color: var(--brand-400); }
.industry-options input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.industry-options input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.industry-error {
  margin: 8px 0 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

/* Date input visual normalization */
input[type="date"] {
  font-family: inherit;
  font-size: inherit;
  color-scheme: light;
}

/* =============================================================
   LEGAL PAGES — refined minimal (特商法 / プライバシーポリシー)
   ============================================================= */

.page-legal main { background: #fff; }

.page-hero-minimal {
  padding: 130px 0 48px;
  background: #fff;
  text-align: left;
}
.page-hero-minimal::before { display: none; }
.page-hero-minimal h1 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: .01em;
  font-weight: 900;
}
.page-hero-minimal .crumb { margin-bottom: 10px; }

.legal-section {
  padding: 24px 0 120px;
  background: #fff;
}

/* 特商法: definition list */
.legal-dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.legal-dl > div {
  display: contents;
}
.legal-dl dt,
.legal-dl dd {
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  line-height: 1.9;
}
.legal-dl dt {
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  padding-right: 24px;
}
.legal-dl dd {
  color: var(--ink-soft);
}
.legal-dl dd .legal-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.legal-dl dd .legal-p { margin: 0 0 10px; }
.legal-dl dd .legal-p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .legal-dl {
    grid-template-columns: 1fr;
  }
  .legal-dl dt {
    padding: 20px 0 0;
    border-bottom: none;
    color: var(--brand-600);
    font-size: 13px;
    letter-spacing: .08em;
  }
  .legal-dl dd {
    padding: 10px 0 20px;
  }
}

/* Privacy: prose article */
.legal-article .legal-lead {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 2.05;
  margin: 0 0 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.legal-block {
  margin: 0 0 36px;
}
.legal-block h2 {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: .01em;
  line-height: 1.5;
}
.legal-block p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 2;
  font-size: 14.5px;
}
.legal-block ul {
  margin: 8px 0 14px;
  padding: 0 0 0 4px;
  list-style: none;
}
.legal-block ul li {
  position: relative;
  padding: 2px 0 2px 22px;
  color: var(--ink-soft);
  line-height: 1.95;
  font-size: 14.5px;
}
.legal-block ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .85em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

.legal-contact {
  margin: 18px 0 0;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 18px;
  font-size: 14px;
}
.legal-contact > div { display: contents; }
.legal-contact dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding-top: 2px;
}
.legal-contact dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 560px) {
  .legal-contact { grid-template-columns: 1fr; gap: 4px 0; padding: 18px 20px; }
  .legal-contact dt { padding-top: 10px; }
}

.legal-updated {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* =============================================================
   NEWS — dynamic states (loading, empty, error, pagination, detail)
   ============================================================= */

.news-loading,
.news-empty,
.news-error {
  padding: 64px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.news-error { color: var(--brand); }

.news-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.news-pager-info {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.news-pager .btn[disabled] {
  opacity: .4;
  pointer-events: none;
}
@media (max-width: 560px) {
  .news-pager { flex-direction: column; }
  .news-pager-info { order: -1; }
}

/* Detail page */
.news-detail-section {
  padding: 24px 0 120px;
  background: #fff;
}
.news-article[aria-busy="true"] { min-height: 200px; }

.news-article-head {
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.news-article-head .news-tag {
  display: inline-block;
  margin-bottom: 14px;
}
.news-article-title {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 900;
  margin: 0 0 14px;
  line-height: 1.5;
  letter-spacing: .005em;
  color: var(--ink);
}
.news-article-date {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .06em;
}

.news-article-hero {
  margin: 0 0 40px;
}
.news-article-hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.news-article-body {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink-soft);
}
.news-article-body h1,
.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .01em;
  margin: 40px 0 16px;
  line-height: 1.5;
}
.news-article-body h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.news-article-body h3 { font-size: 18px; }
.news-article-body h4 { font-size: 16px; }
.news-article-body p { margin: 0 0 20px; }
.news-article-body ul,
.news-article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
  list-style: disc;
}
.news-article-body ol { list-style: decimal; }
.news-article-body li { margin: 4px 0; }
.news-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 12px 0;
}
.news-article-body a {
  color: var(--brand-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-article-body a:hover { color: var(--brand); }
.news-article-body blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--brand);
  background: var(--bg-soft);
  color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.news-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.news-article-body th,
.news-article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}
.news-article-body th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.news-article-body code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.news-article-body pre {
  background: var(--bg-soft);
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 13px;
}
.news-article-body pre code { background: transparent; padding: 0; }

.news-back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ========================================================================
   Mobile UX refinements (≤ 768px / ≤ 480px)
   - readability: line-height & spacing
   - tap targets: ≥ 44px for nav and buttons
   - layout density: case-thumb aspect, footer stacking, flow-step padding
   ======================================================================== */
@media (max-width: 960px) {
  .nav-list a {
    padding: 16px 8px;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 15.5px;
  }
  .nav-cta { min-height: 48px; padding: 14px 22px; }
}

@media (max-width: 768px) {
  .hero { padding: 110px 0 64px; }
  .hero-title {
    line-height: 1.4;
    margin: 0 0 22px;
  }
  .hero-lead {
    line-height: 1.85;
    padding: 0 4px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0 32px;
  }
  .footer-nav { gap: 28px; }

  .case-body { padding: 22px 20px; }
  .case-body h3 {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 12px;
  }
  .case-result { font-size: 13.5px; line-height: 1.7; }
  .case-tags li { font-size: 11px; padding: 4px 10px; }

  .flow-step { padding: 24px 20px; }
  .flow-step h3 { font-size: 16.5px; line-height: 1.55; }

  .section { padding: 64px 0; }
  .section-title { line-height: 1.45; }
  .section-sub { line-height: 1.85; }
}

@media (max-width: 640px) {
  .case-thumb { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: clamp(26px, 7.5vw, 36px); }
  .metric-grid { gap: 14px; }
  .field { margin-bottom: 18px; }
  .btn-xl { padding: 16px 24px; font-size: 16px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
}

/* =====================================================================
   TOP page renewal — 補助金顧問軸 (HERO addons / WHY-NOW / ADVISOR /
   4 VALUES / PLAN SUMMARY)。既存クラスには触れず追記のみ。
   ===================================================================== */

/* ----- HERO additions ----- */
.hero-price-line {
  margin: -8px auto 24px;
  font-size: clamp(15px, 2.4vw, 19px);
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-price-line strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25em;
  color: var(--brand);
  letter-spacing: -.01em;
}
.hero-cta-note {
  margin: -52px auto 56px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 720px) {
  .hero-cta-note { margin: -48px auto 48px; }
}

/* ----- WHY NOW ----- */
.why-now { background: var(--bg); }
.why-now .section-title em {
  background: linear-gradient(120deg, transparent 0 55%, rgba(255, 178, 76, .45) 55% 92%, transparent 92%);
  padding: 0 .1em;
  color: var(--ink);
  font-style: normal;
}
.why-now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.why-now-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-now-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.why-now-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--brand-50);
  color: var(--brand);
  margin-bottom: 18px;
}
.why-now-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.5;
}
.why-now-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}
.why-now-conclusion {
  margin: 56px auto 0;
  text-align: center;
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.5;
}
.why-now-conclusion em {
  color: var(--brand);
  font-style: normal;
}

/* ----- ADVISOR DEFINE ----- */
.advisor-define .section-title em {
  background: linear-gradient(120deg, transparent 0 55%, rgba(255, 178, 76, .45) 55% 92%, transparent 92%);
  padding: 0 .1em;
  color: var(--ink);
}
.advisor-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}
.advisor-text-title {
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.5;
}
.advisor-text > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
  margin: 0 0 28px;
}
.advisor-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14px;
}
.advisor-compare th,
.advisor-compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.advisor-compare thead th {
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
}
.advisor-compare thead th small { font-weight: 500; opacity: .8; }
.advisor-compare th[scope="row"] {
  width: 28%;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-weight: 700;
}
.advisor-compare td { color: var(--ink-soft); }
.advisor-compare .is-highlight {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 700;
}
.advisor-compare thead th.is-highlight {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
}
.advisor-compare tbody tr:last-child th,
.advisor-compare tbody tr:last-child td { border-bottom: none; }

.advisor-price-card {
  position: sticky;
  top: 96px;
  background: linear-gradient(160deg, #ffffff 0%, var(--brand-50) 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.advisor-price-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.advisor-price-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 18px;
  border: 1px solid var(--brand-100);
}
.advisor-price-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--brand);
}
.advisor-price-yen {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1;
}
.advisor-price-main {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.advisor-price-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.advisor-price-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.advisor-price-divider {
  width: 100%;
  border: none;
  border-top: 1px dashed var(--brand-100);
  margin: 22px 0 18px;
}
.advisor-price-list {
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.advisor-price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}
.advisor-price-list svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--brand);
}
.advisor-price-foot {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  border-top: 1px solid var(--brand-100);
  padding-top: 14px;
  width: 100%;
}
@media (max-width: 880px) {
  .advisor-grid { grid-template-columns: 1fr; gap: 36px; }
  .advisor-price-card { position: static; }
}
@media (max-width: 600px) {
  .advisor-compare { font-size: 13px; }
  .advisor-compare th,
  .advisor-compare td { padding: 12px 12px; }
}

/* ----- 4 VALUES ----- */
.value4-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value4-card {
  position: relative;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.value4-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 104, 32, .08), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.value4-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.value4-card:hover::before { opacity: 1; }
.value4-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.value4-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand);
  margin-bottom: 18px;
}
.value4-card h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.value4-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}
.value4-stat {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 38px);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -.02em;
  line-height: 1;
}
.value4-stat small {
  font-size: .55em;
  font-weight: 700;
  color: var(--ink-soft);
  margin-left: 2px;
}
.value4-card-accent {
  background: linear-gradient(160deg, #ffffff 0%, var(--brand-50) 100%);
  border-color: var(--brand-100);
}

/* ----- PLAN SUMMARY ----- */
.plan-summary .plan-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 36px 32px;
  position: relative;
  overflow: hidden;
}
.plan-summary .plan-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.plan-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--brand);
}
.plan-price-yen {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 700;
}
.plan-price-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}
.plan-price-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.plan-features li strong {
  color: var(--ink);
  font-weight: 700;
}
.plan-features svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--brand);
}
.plan-card-foot {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 600px) {
  .plan-summary .plan-card { padding: 28px 22px 26px; }
  .plan-card-foot .btn { flex: 1 1 auto; justify-content: center; }
}

/* ----- CTA tweaks (sub link styling for the third button) ----- */
.cta .cta-sub-link {
  font-size: 14px;
  padding: 12px 22px;
  border-color: rgba(255, 255, 255, .25);
}
@media (max-width: 720px) {
  .why-now-conclusion { font-size: 19px; }
}
