/* -------------------------------------------------------------------------
   ROVI WORKS LP — assets/css/main.css
   順序: トークン → リセット/ベース → レイアウト → タイポ → パーツ → レスポンシブ
   ------------------------------------------------------------------------- */

:root {
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 56px;
  --sp-7: 72px;
  --section-y: clamp(64px, 9vw, 96px);
  --section-y-compact: clamp(40px, 6vw, 56px);
  --content-max: 1080px;
  --wrap-pad: clamp(20px, 4vw, 32px);
  --nav-h: 56px;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #e8f4f1;
  --text: #0c0c0c;
  --text-muted: #454545;
  --text-soft: #6b6b6b;
  --line: #c5ddd6;
  --line-strong: #5ab8a8;
  --line-hover: #0d9488;
  /* ティールは黒に近づけない。CTA・ライン・見出しアクセントは #0d9488 系で「色が分かる」明度に */
  --brand: #0d9488;
  --brand-deep: #0a7268;
  --brand-bright: #14b8a6;
  --brand-light: #ccfbf1;
  --brand-muted: #14b8a6;
  --accent-slate: #1e3a5f;
  --accent-clay: #b45309;
  --accent-clay-bg: #fff7ed;
  --ink: #0a5c54;
  --surface-warm: #faf8f5;
  --surface-tint: #e6f7f4;
  --cta: #0d9488;
  --cta-hover: #0f766e;

  --font-sans: 'Inter', 'Zen Kaku Gothic New', 'Hiragino Sans', system-ui, sans-serif;
  --font-serif: 'Source Serif 4', 'Zen Kaku Gothic New', 'Hiragino Sans', Georgia, serif;

  --radius: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 4px rgba(13, 148, 136, 0.12);
  --shadow: 0 6px 20px rgba(13, 148, 136, 0.18);
  --shadow-hover: 0 10px 28px rgba(13, 148, 136, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* —— Layout —— */

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

main > section:not(.hero):not(.trust) {
  border-top: 1px solid var(--line);
}

section {
  padding: var(--section-y) 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section--surface {
  background: var(--surface);
}

.section--warm {
  background: var(--surface-warm);
}

.section--tint {
  background: var(--surface-tint);
}

.section--ink {
  background: var(--ink);
  color: #f0f4f3;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.section--tight-b {
  padding-bottom: var(--section-y-compact);
}

.section--tight-t {
  padding-top: var(--section-y-compact);
}

.hero {
  position: relative;
  width: 100%;
  padding-top: calc(var(--nav-h) + var(--sp-6));
  padding-bottom: var(--section-y-compact);
  border-top: none;
  background: var(--surface);
}

/* ヒーローはコピー中心（装飾写真なし・Rittman 系） */
.hero--text {
  padding-bottom: var(--section-y-compact);
}

.hero--text .hero__copy {
  max-width: 40em;
}

.hero--text .h1 {
  max-width: 14em;
}

.h2--compact {
  margin-bottom: var(--sp-2);
  font-size: clamp(26px, 3.5vw, 36px);
}

/* —— Trust strip（ロゴ帯の代わり・領域タグ）—— */

.trust {
  padding: var(--sp-4) 0 var(--section-y-compact);
  background: var(--surface);
  border-top: none;
}

.trust__label {
  margin: 0 0 var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.trust__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4) var(--sp-5);
  margin: 0 0 var(--sp-3);
  padding: 0;
  list-style: none;
}

.trust__logos img {
  display: block;
  width: auto;
  max-width: 148px;
  height: 28px;
  opacity: 0.88;
}

.trust__logos li {
  display: flex;
  align-items: center;
}

.trust__list li {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

/* —— Challenge cards（4シナリオ）—— */

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.challenge-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-bright);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.challenge-card:hover {
  border-color: var(--line-strong);
  border-top-color: var(--brand);
  box-shadow: var(--shadow);
}

.challenge-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.challenge-card__t {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.challenge-card__p {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.challenge-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.challenge-card:hover .challenge-card__cta {
  color: var(--brand-bright);
}

/* —— Narrative（課題→解決の長文ブロック）—— */

.narrative__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: var(--sp-5);
  align-items: start;
}

.narrative__lede {
  margin: 0 0 var(--sp-4);
  max-width: 40em;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
}

.narrative__lede--tight {
  margin-top: 0;
}

#solution .section-head {
  margin-bottom: var(--sp-4);
}

#solution .section-head .h2 {
  margin-bottom: 0;
}

.narrative__points {
  margin: 0 0 var(--sp-4);
  padding: 0;
  list-style: none;
}

.narrative__points li {
  position: relative;
  padding-left: 1.1em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.narrative__points li + li {
  margin-top: var(--sp-2);
}

.narrative__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
}

.narrative__aside {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
}

.narrative__aside-label {
  margin: 0 0 var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.narrative__aside p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* —— Offer stack（3レイヤ・白背景）—— */

.offer-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.offer-layer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
}

.offer-layer--b {
  border-left-color: var(--accent-slate);
}

.offer-layer--c {
  border-left-color: var(--text-soft);
}

.offer-layer__marker {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-soft);
}

.offer-layer__t {
  margin: 0 0 var(--sp-1);
  font-size: 20px;
  font-weight: 600;
}

.offer-layer__p {
  margin: 0 0 var(--sp-2);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.offer-layer__deliv {
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-layer__deliv li {
  position: relative;
  padding-left: 1em;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

.offer-layer__deliv li + li {
  margin-top: 4px;
}

.offer-layer__deliv li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--line-hover);
}

/* —— Methodology（3ステップ）—— */

.method-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.method-step {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}

.method-step__label {
  margin: 0 0 var(--sp-1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.method-step__t {
  margin: 0 0 var(--sp-1);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.method-step__tag {
  margin: 0 0 var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.method-step__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* —— Resources hub —— */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}

.resource-card:hover {
  border-color: var(--brand-bright);
  background: var(--surface-tint);
  box-shadow: var(--shadow-sm);
}

.resource-card__tag {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.resource-card__t {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.resource-card__p {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.resource-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.resource-card:hover .resource-card__link {
  color: var(--brand-deep);
}

/* —— Cases（匿名プレースホルダ）—— */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.case-card {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}

.case-card__tag {
  margin: 0 0 var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.case-card__t {
  margin: 0 0 var(--sp-2);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.case-card__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* —— Platform spotlight（下層・資料用・LPでは未使用）—— */

.section-head {
  margin-bottom: var(--sp-5);
}

.section-head__sub {
  margin-bottom: 0;
}

.spotlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.spotlight__card {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--spot-accent, var(--brand));
}

.spotlight__card--teal {
  --spot-accent: var(--brand-deep);
}

.spotlight__card--slate {
  --spot-accent: var(--accent-slate);
}

.spotlight__card--clay {
  --spot-accent: var(--accent-clay);
  background: var(--accent-clay-bg);
}

.spotlight__name {
  margin: 0 0 var(--sp-2);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.spotlight__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.stack__logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin: 0;
  padding: var(--sp-3) 0 0;
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stack__logos li {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

.stack__logos img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

/* —— Statement —— */

.statement {
  padding: clamp(56px, 9vw, 96px) 0;
  border-top: none;
}

.statement--brand {
  background: var(--brand-deep);
  color: #ecf6f5;
}

.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: var(--sp-5);
  align-items: end;
}

.statement__quote {
  margin: 0;
  padding: 0;
  border: none;
}

.statement__quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.statement__quote strong {
  font-weight: 700;
  color: #fff;
}

.statement__aside {
  margin: 0;
  padding-left: var(--sp-3);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(236, 246, 245, 0.72);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.band {
  background: var(--bg);
  color: var(--text);
}

/* —— Mid-page CTA（Grid：flex-basis によるモバイルの高さ暴走を避ける）—— */

section.cta-band {
  padding: var(--section-y-compact) 0;
  background: var(--surface-alt);
  border-top: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: var(--sp-4);
  row-gap: var(--sp-3);
}

.cta-band__copy .h2--compact {
  margin-bottom: var(--sp-2);
}

.cta-band__text {
  margin: 0;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: flex-end;
}

/* —— Typography (セクション見出し) —— */

.eyebrow {
  margin-bottom: var(--sp-2);
  padding-left: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--brand);
  border-left: 3px solid var(--brand-bright);
}

.h1,
.h2,
.statement__quote p {
  font-family: var(--font-serif);
}

.h1 {
  margin-bottom: var(--sp-4);
  font-size: clamp(40px, 6.5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.h1 span {
  color: var(--brand);
}

.h2--light,
.sub--light {
  color: #f0f4f3;
}

.eyebrow--light {
  color: rgba(236, 246, 245, 0.65);
  border-left-color: var(--brand-muted);
}

.section-head--light .section-head__sub {
  color: rgba(236, 246, 245, 0.75);
}

.lead {
  margin-bottom: var(--sp-2);
  max-width: 36em;
  font-size: 19px;
  color: var(--text-muted);
}

.lead-note {
  margin-bottom: var(--sp-4);
  max-width: 36em;
  font-size: 15px;
  color: var(--text-soft);
}

.lead strong,
.sub strong {
  font-weight: 700;
  color: var(--text);
}

.h2 {
  margin-bottom: var(--sp-3);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

#founder .h2,
#own-business .h2,
#company .h2 {
  margin-bottom: var(--sp-4);
}

.sub {
  margin-bottom: var(--sp-5);
  max-width: 32em;
  font-size: 18px;
  color: var(--text-muted);
}

/* —— Header —— */

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--nav-h);
  min-height: var(--nav-h);
  max-height: var(--nav-h);
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  height: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.nav__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.nav__logo {
  display: block;
  width: auto;
  height: 26px;
}

.nav__brand:hover .nav__logo {
  opacity: 0.72;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-soft);
}

.nav__links a:hover {
  color: var(--brand);
}

.nav__links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.nav__actions .btn {
  padding: 8px 14px;
  font-size: 14px;
}

.nav__cluster {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

.nav__links a[aria-current='page'] {
  font-weight: 600;
  color: var(--brand);
}

.nav__toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav__toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav__toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}

.nav__toggle-icon span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__toggle[aria-expanded='true'] .nav__toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded='true'] .nav__toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded='true'] .nav__toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(12, 12, 12, 0.4);
}

.nav__drawer {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  width: min(100%, 320px);
  padding: var(--sp-3) var(--sp-4) var(--sp-5);
  overflow-y: auto;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.nav__drawer.is-open {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.nav__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.nav__drawer-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav__close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav__links--drawer {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0 0 var(--sp-4);
  padding: 0;
  list-style: none;
}

.nav__links--drawer li {
  border-bottom: 1px solid var(--line);
}

.nav__links--drawer a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
}

.nav__drawer-cta {
  width: 100%;
}

body.nav-menu-open {
  overflow: hidden;
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 12px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s, box-shadow 0.15s, transform 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--brand-bright);
  color: var(--brand);
  background: var(--surface-tint);
}

.btn--primary {
  background: var(--text);
  color: #fff;
}

.btn--primary:hover {
  background: var(--cta-hover);
}

.btn--accent,
.btn--brand {
  background: var(--cta);
  color: #fff;
  border: 1px solid var(--cta-hover);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.btn--accent:hover,
.btn--brand:hover {
  background: var(--cta-hover);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn--ghost-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost-on-dark:hover {
  border-color: #fff;
}

.btn--submit-light {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn--submit-light:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
  border-radius: var(--radius);
}

.btn--lg {
  padding: 15px 24px;
  font-size: 16px;
}

/* —— Hero 本文・Trust —— */

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.hero__note {
  margin-bottom: var(--sp-4);
  max-width: 36em;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.trust {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}

.trust__label {
  margin-bottom: var(--sp-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

.pill {
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 0;
}

.pill + .pill::before {
  content: '·';
  margin-right: 0.55em;
  color: var(--line-hover);
}

/* —— カードグリッド —— */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
}

.card__n {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.card__t {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card__lede {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
}

.card__p {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.card__deliv {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--line);
}

.card__deliv__label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-soft);
}

.card__deliv ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card__deliv li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.card__deliv li + li {
  margin-top: 4px;
}

.card__deliv li::before {
  content: '—';
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 500;
  color: var(--text-soft);
}

/* —— 課題リスト（均一3カードの代替）—— */

.issue-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-1);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
}

.issue-item:first-child {
  border-top: none;
  padding-top: 0;
}

.issue-item--01 {
  border-left: 3px solid var(--brand);
  padding-left: var(--sp-3);
}

.issue-item--02 {
  border-left: 3px solid var(--accent-slate);
  padding-left: var(--sp-3);
}

.issue-item--03 {
  border-left: 3px solid var(--accent-clay);
  padding-left: var(--sp-3);
}

.issue-item__head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
}

.issue-item__n {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}

.issue-item__t {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.issue-item__lede {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.issue-item__p {
  margin: 0;
  max-width: 52em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* —— 3レイヤ（縦積み・色分け）—— */

.layers {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.layer {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.layer--a {
  border-left: 4px solid var(--brand-muted);
}

.layer--b {
  border-left: 4px solid #7eb8b2;
}

.layer--c {
  border-left: 4px solid #c9a227;
}

.layer__marker {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
}

.layer__t {
  margin: 0 0 var(--sp-1);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.layer__p {
  margin: 0 0 var(--sp-2);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(240, 244, 243, 0.82);
}

.layer__p strong {
  color: #fff;
  font-weight: 600;
}

.layer__deliv {
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer__deliv li {
  position: relative;
  padding-left: 1em;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(240, 244, 243, 0.65);
}

.layer__deliv li + li {
  margin-top: 4px;
}

.layer__deliv li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.35);
}

/* —— 進め方（横リスト）—— */

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.flow-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}

.flow-item:nth-child(2) {
  border-top-color: var(--accent-slate);
}

.flow-item:nth-child(3) {
  border-top-color: var(--accent-clay);
}

.flow-item:nth-child(4) {
  border-top-color: var(--text-soft);
}

.flow-item__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border-radius: 0;
}

.flow-item:nth-child(2) .flow-item__n {
  background: var(--accent-slate);
}

.flow-item:nth-child(3) .flow-item__n {
  background: var(--accent-clay);
}

.flow-item:nth-child(4) .flow-item__n {
  background: var(--text-soft);
}

.flow-item__t {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.flow-item__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.flow-item__p a {
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.flow-item__p a:hover {
  text-decoration: underline;
}

/* —— 進め方ステップ（旧・下層互換）—— */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.steps > .reveal {
  display: flex;
  flex-direction: column;
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
}

.step__n {
  margin-bottom: var(--sp-1);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.step__t {
  margin-bottom: var(--sp-1);
  font-size: 17px;
  font-weight: 700;
}

.step__p {
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* —— Founder —— */

.founder {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: var(--sp-5);
  align-items: start;
}

.founder__aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.founder__portrait {
  margin: 0;
  line-height: 0;
  border: 1px solid var(--line);
  background: #f5f4f1;
}

.founder__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder__card {
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
}

.founder__name {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
}

.founder__role {
  margin-bottom: var(--sp-2);
  font-size: 15px;
  color: var(--text-soft);
}

.founder__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.founder__tags span {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.founder__bio p {
  margin-bottom: var(--sp-2);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}

.founder__bio__quote {
  margin: 4px 0 var(--sp-2);
  padding: 10px 0 10px 14px;
  border-left: 3px solid var(--brand);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
}

.founder__bio a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}

.founder__bio a:hover {
  text-decoration: underline;
}

/* —— Pricing —— */

#pricing .h2 {
  margin-bottom: var(--sp-4);
}

.pricing-panel {
  max-width: 40em;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
}

.pricing-panel--accent {
  max-width: none;
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
}

.pricing__body {
  margin-bottom: var(--sp-3);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}

.pricing__range {
  font-weight: 600;
  color: var(--text);
}

.pricing-panel .btn {
  margin-top: var(--sp-1);
}

/* —— Own business (HEAVYCHILD) —— */

.own-business {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-3);
  align-items: start;
}

.own-business__card {
  padding: var(--sp-3);
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
}

.own-business__name {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.own-business__role {
  margin-bottom: var(--sp-2);
  font-size: 15px;
  color: var(--text-soft);
}

.own-business__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.own-business__body p {
  margin-bottom: var(--sp-2);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}

.own-business__list {
  margin: 0 0 var(--sp-2);
  padding: 0;
  list-style: none;
}

.own-business__list li {
  position: relative;
  padding-left: 1.1em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.own-business__list li + li {
  margin-top: 8px;
}

.own-business__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.own-business__body a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}

.own-business__body a:hover {
  text-decoration: underline;
}

.link-external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-external__icon {
  font-size: 0.85em;
  opacity: 0.75;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.footer__links a:focus-visible {
  outline-offset: 4px;
  border-radius: 4px;
}

/* —— Forms —— */

.form-panel {
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
}

.form-panel--narrow {
  max-width: 520px;
  margin: 0 auto;
}

.form-panel--medium {
  max-width: 640px;
  margin: 0 auto;
}

.form-panel--dark {
  background: var(--ink);
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow);
}

.form-panel h3 {
  margin-bottom: var(--sp-1);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.form-panel .hint {
  margin-bottom: var(--sp-3);
  font-size: 15px;
  color: var(--text-soft);
}

.form-panel--dark h3 {
  color: #fafafa;
}

.form-panel--dark .hint {
  color: #a3a3a3;
}

.field {
  margin-bottom: var(--sp-2);
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.field--dark label {
  color: #c4c4c4;
}

.req {
  color: var(--cta);
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px var(--sp-2);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.field--dark input,
.field--dark textarea {
  color: #fafafa;
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.25);
}

.field--dark input:focus,
.field--dark textarea:focus {
  border-color: var(--brand-muted);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #dc2626;
}

.field-error.is-visible {
  display: block;
}

input.is-invalid,
textarea.is-invalid {
  border-color: #dc2626;
}

.form-success {
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
}

.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-2);
  font-size: 22px;
  color: var(--brand-muted);
  background: rgba(15, 118, 110, 0.2);
  border-radius: 50%;
}

.form-success__t {
  margin-bottom: var(--sp-1);
  font-size: 20px;
  font-weight: 700;
  color: #fafafa;
}

.form-success__p {
  font-size: 15px;
  color: #a3a3a3;
}

.dl-success {
  display: none;
  margin-bottom: var(--sp-3);
  padding: var(--sp-3);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
}

.dl-success.is-visible {
  display: block;
}

.dl-success p {
  margin-bottom: var(--sp-1);
  font-size: 15px;
  color: #166534;
}

.dl-success a {
  font-weight: 700;
  color: var(--brand);
}

.global-error {
  display: none;
  margin-bottom: var(--sp-2);
  padding: 12px var(--sp-2);
  font-size: 14px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
}

.global-error.is-visible {
  display: block;
}

.global-error[role='alert'] {
  outline: none;
}

/* —— Footer —— */

footer,
.site-footer {
  padding: var(--sp-4) var(--wrap-pad);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: var(--sp-5) var(--wrap-pad);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer__copy {
  font-size: 14px;
  color: var(--text-soft);
}

.footer__links {
  display: flex;
  gap: var(--sp-3);
}

.footer__links a {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-soft);
}

.footer__links a:hover {
  color: var(--brand);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
}

.footer__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.footer__group a {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-soft);
}

.footer__group a:hover {
  color: var(--brand);
}

/* —— Subpages / teasers —— */

.page-hero {
  padding-top: calc(var(--nav-h) + var(--sp-6));
  padding-bottom: var(--sp-4);
  background: var(--surface);
}

.page-hero .h1 {
  max-width: 18ch;
}

.page-content {
  padding-bottom: var(--sp-6);
}

.breadcrumb {
  margin-bottom: var(--sp-4);
  font-size: 14px;
  color: var(--text-soft);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--line-hover);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb [aria-current='page'] {
  color: var(--text-muted);
  font-weight: 500;
}

.issue-detail {
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.issue-detail:first-of-type {
  border-top: none;
  padding-top: 0;
}

.issue-detail__t {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.issue-detail__lede {
  margin: 0 0 var(--sp-2);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.issue-detail__p {
  margin: 0 0 var(--sp-3);
  max-width: 52em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* —— 中央揃え（Rittman / Brooklyn Data 型・マーケページ共通）—— */

.layout--center .hero__copy {
  max-width: 40em;
  margin-inline: auto;
  text-align: center;
}

.layout--center .hero__actions {
  justify-content: center;
}

.layout--center .page-hero .wrap {
  text-align: center;
}

.layout--center .page-hero .sub {
  margin-inline: auto;
}

.layout--center .page-hero .h1 {
  max-width: none;
}

.layout--center .eyebrow {
  padding-left: 0;
  border-left: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brand-bright);
}

.layout--center .section-head {
  text-align: center;
}

.layout--center .section-head .h2,
.layout--center .section-head .sub {
  margin-inline: auto;
}

.layout--center .section-head__sub,
.layout--center .lead,
.layout--center .cta-band__text {
  max-width: 36em;
  margin-inline: auto;
}

.layout--center .trust {
  text-align: center;
}

.layout--center .trust__list {
  justify-content: center;
}

.layout--center .cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.layout--center .cta-band__actions {
  justify-content: center;
}

.layout--center .cta-band__text {
  max-width: 32em;
}

.layout--center .trust__logos {
  justify-content: center;
}

.layout--center .challenge-card {
  text-align: center;
  align-items: center;
}

.layout--center .challenge-card__cta {
  align-self: center;
}

.layout--center .method-step,
.layout--center .case-card,
.layout--center .resource-card {
  text-align: center;
}

.layout--center .resource-card {
  align-items: center;
}

.layout--center .page-cta {
  text-align: center;
}

.layout--center .page-cta .hero__actions {
  justify-content: center;
}

.layout--center .pricing-panel {
  margin-inline: auto;
  text-align: center;
}

.layout--center .pricing-panel .btn {
  margin-inline: auto;
}

/* 長文は読みやすさのため左揃えのまま */
.layout--center .page-content > .wrap {
  text-align: left;
}

.layout--center .page-content .breadcrumb {
  text-align: left;
}

.layout--center .offer-stack,
.layout--center .issue-detail,
.layout--center .narrative__grid,
.layout--center .founder,
.layout--center .form-panel {
  text-align: left;
}

.layout--center .page-content .section-head {
  text-align: center;
}

.layout--center .page-content .section-head .sub {
  margin-inline: auto;
}

.layout--center .page-content .form-panel--narrow,
.layout--center .booking-panel {
  margin-inline: auto;
}

.layout--center .booking-panel {
  max-width: 900px;
}

/* —— ホーム（短尺・Rittman型：詳細は下層ページ）—— */

.page-home .home-main > section:not(.hero) {
  border-top: 1px solid var(--line);
}

.page-home .hero--home {
  padding-bottom: var(--section-y-compact);
}

.page-home .hero--home .lead {
  margin-bottom: var(--sp-4);
}


.page-home .trust--home {
  padding: var(--sp-3) 0 var(--section-y-compact);
  background: var(--surface-alt);
}

.page-home .home-challenges {
  padding: var(--section-y-compact) 0 var(--section-y);
}

.page-home .section-head--compact {
  margin-bottom: var(--sp-4);
}

.page-home .section-head--compact .h2 {
  margin-bottom: var(--sp-2);
}

.page-home .section-head--compact .sub {
  margin-bottom: 0;
}

.page-home .cta-band--home {
  padding-bottom: var(--section-y-compact);
}

/* —— Approach（事業の哲学・ホーム）—— */

.home-approach {
  padding: var(--section-y) 0;
  text-align: center;
}

.home-approach .section-head--compact {
  margin-bottom: var(--sp-3);
}

.approach__slogan {
  margin: 0 auto var(--sp-2);
  max-width: 24em;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.approach__statement {
  margin: 0 auto var(--sp-3);
  max-width: 30em;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.6;
  color: var(--text);
}

.approach__note {
  margin: 0 auto;
  max-width: 32em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* —— Engage（3プラン・ホーム）—— */

.home-engage {
  padding: var(--section-y) 0;
}

.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.engage-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.engage-card--mid {
  border-top-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.engage-card:hover {
  border-color: var(--line-strong);
  border-top-color: var(--brand);
  box-shadow: var(--shadow);
}

.engage-card__label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.engage-card__t {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.engage-card__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.engage-card__deliv {
  margin: var(--sp-1) 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.engage-card__deliv li {
  position: relative;
  padding: 4px 0 4px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.engage-card__deliv li::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--brand-bright);
}

.engage__footnote {
  margin: var(--sp-4) auto 0;
  max-width: 32em;
  font-size: 14px;
  color: var(--text-soft);
  text-align: center;
}

.engage__footnote a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.layout--center .engage-card {
  text-align: center;
  align-items: center;
}

/* —— Proof（自社実践・ホーム）—— */

.home-proof {
  padding: var(--section-y) 0;
}

.proof__body {
  margin: 0 auto var(--sp-3);
  max-width: 36em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.proof__cta {
  margin: 0;
  text-align: center;
}

/* —— Services: 3レイヤ詳細 —— */

.layer-stack {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}

.layer-detail {
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-bright);
  text-align: left;
}

.layer-detail__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: start;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}

.layer-detail__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 8px;
}

.layer-detail__label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.layer-detail__t {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.layer-detail__p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.layer-detail__meta {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
}

.layer-detail__meta-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--sp-3);
  align-items: start;
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--line);
}

.layer-detail__meta-row:first-child {
  border-top: none;
  padding-top: 0;
}

.layer-detail__meta-row dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.layer-detail__meta-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.layer-detail__meta-row dd ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer-detail__meta-row dd li {
  position: relative;
  padding: 2px 0 2px 14px;
}

.layer-detail__meta-row dd li::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--brand-bright);
}

.layer-note {
  margin: var(--sp-4) auto 0;
  max-width: 36em;
  font-size: 14px;
  color: var(--text-soft);
  text-align: center;
}

/* —— Services: Layer × Engagement マトリックス —— */

.matrix {
  display: grid;
  gap: 1px;
  margin: var(--sp-4) auto 0;
  max-width: 720px;
  background: var(--line);
  border: 1px solid var(--line);
}

.matrix__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.matrix__row > * {
  padding: var(--sp-3) var(--sp-2);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.matrix__row > [role='rowheader'] {
  text-align: left;
  background: var(--surface-alt);
}

.matrix__row--head > * {
  background: var(--surface-alt);
  font-size: 13px;
}

.matrix__row--head small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.matrix__cell {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-soft);
}

.matrix__cell--strong {
  color: var(--brand);
}

.matrix__legend {
  margin: var(--sp-3) auto 0;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}

.matrix__legend .matrix__cell {
  display: inline;
  padding: 0 2px;
  font-size: 14px;
  background: transparent;
}

/* —— Services: スタック選定の考え方 —— */

.rationale-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  text-align: left;
}

.rationale-card {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
}

.rationale-card__t {
  margin: 0 0 var(--sp-1);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.rationale-card__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* —— FAQ（accordion）—— */

.faq {
  margin: var(--sp-4) auto 0;
  max-width: 720px;
  text-align: left;
}

.faq__item {
  border-top: 1px solid var(--line-strong);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}

.faq__q::-webkit-details-marker,
.faq__q::marker {
  display: none;
  content: '';
}

.faq__q:hover {
  color: var(--brand);
}

.faq__q:hover .faq__icon {
  color: var(--brand-bright);
  border-color: var(--brand);
}

.faq__icon {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--brand);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.2s ease, border-color 0.15s ease, color 0.15s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.faq__icon::before {
  width: 10px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 10px;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.faq__q:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq__a {
  margin: 0 0 var(--sp-3);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

.faq__item[open] .faq__a {
  animation: faqFadeIn 0.2s ease both;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq__a a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Issues: 早見ナビ + 詳細ブロック —— */

.issue-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-3);
  margin: var(--sp-3) auto 0;
  padding: var(--sp-3) var(--sp-4);
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.issue-nav a {
  position: relative;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
  border: 1px solid var(--brand-bright);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.issue-nav a:hover {
  background: var(--brand);
  color: #fff;
}

.issue-block {
  padding: var(--sp-5) 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.issue-block:last-child {
  border-bottom: none;
}

.issue-block__head {
  margin-bottom: var(--sp-3);
  text-align: center;
}

.issue-block__label {
  margin: 0 0 var(--sp-1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.issue-block__t {
  margin: 0 0 var(--sp-1);
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.issue-block__lede {
  margin: 0;
  font-size: 17px;
  color: var(--text-soft);
  font-style: italic;
}

.issue-block__p {
  margin: 0 auto var(--sp-4);
  max-width: 38em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.issue-block__meta {
  margin: 0 auto var(--sp-4);
  max-width: 38em;
  display: grid;
  gap: var(--sp-3);
}

.issue-block__meta-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--sp-3);
  align-items: start;
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--line);
}

.issue-block__meta-row:first-child {
  border-top: none;
  padding-top: 0;
}

.issue-block__meta-row dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.issue-block__meta-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

.issue-block__meta-row dd a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.issue-block__cta {
  margin: 0;
  text-align: center;
}

/* —— Solution: ナラティブ長文 —— */

.narrative {
  margin: 0 auto;
  max-width: 720px;
  text-align: left;
}

.narrative-section {
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--line);
}

.narrative-section:first-of-type {
  padding-top: var(--sp-4);
}

.narrative-section:last-of-type {
  border-bottom: none;
}

.narrative-section__label {
  margin: 0 0 var(--sp-1);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.narrative-section__t {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.narrative-section__p {
  margin: 0 0 var(--sp-3);
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
}

.narrative-section__p:last-child {
  margin-bottom: 0;
}

.narrative-section__p strong {
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--brand-bright);
  padding-bottom: 1px;
}

.narrative-section__list {
  margin: 0 0 var(--sp-3);
  padding: 0;
  list-style: none;
}

.narrative-section__list li {
  position: relative;
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-3);
  border-top: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}

.narrative-section__list li::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--brand);
}

.narrative-section__list li:first-child {
  border-top: 1px solid var(--line);
}

.narrative-section__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.narrative-section__list li strong {
  font-weight: 600;
}

.narrative-section__slogan {
  margin: var(--sp-4) 0 var(--sp-2);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--brand);
  text-align: center;
}

.narrative-section__statement {
  margin: 0 0 var(--sp-4);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  color: var(--text);
  text-align: center;
}

.narrative-section__p a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Solution: 3コンセプト階層図 —— */

.concept-stack {
  display: grid;
  gap: var(--sp-2);
  margin: var(--sp-4) 0;
  padding: var(--sp-4);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.concept-layer {
  position: relative;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  text-align: left;
}

.concept-layer__role {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.concept-layer__t {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--brand);
}

.concept-layer__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* —— Visual helpers: TL;DR / icon / pill / bignum —— */

.tldr {
  margin: 0 0 var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
}

.icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  color: var(--brand);
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.pill-list--brand li {
  color: var(--brand);
  background: var(--brand-light);
  border-color: rgba(13, 148, 136, 0.25);
}

.bignum-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin: var(--sp-4) auto;
  max-width: 720px;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.bignum {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--brand);
}

.bignum-row__label {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

@media (max-width: 720px) {
  .bignum-row {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.teaser-card {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
}

.teaser-card--brand {
  background: var(--brand-light);
  border-color: rgba(13, 92, 86, 0.2);
  border-left-color: var(--brand);
}

.teaser-card--clay {
  background: var(--accent-clay-bg);
  border-color: rgba(139, 90, 60, 0.2);
  border-left-color: var(--accent-clay);
}

.teaser-card__title {
  margin: 0 0 var(--sp-2);
  font-size: 18px;
  font-weight: 600;
}

.teaser-card__p {
  margin: 0 0 var(--sp-3);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.teaser-card__link {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}

.teaser-card__link:hover {
  text-decoration: underline;
}

.blog-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-item {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}

.blog-item:first-child {
  padding-top: 0;
}

.blog-item__meta {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-soft);
}

.blog-item__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.blog-item__title a {
  text-decoration: none;
  color: var(--text);
}

.blog-item__title a:hover {
  color: var(--brand);
}

.blog-item__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.blog-note {
  margin-top: var(--sp-4);
  font-size: 14px;
  color: var(--text-soft);
}

.page-cta {
  margin-top: var(--sp-5);
  padding: var(--sp-5) 0;
  text-align: center;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
}

/* —— Article (blog post body) —— */
.article {
  max-width: 720px;
}

.article__meta {
  margin: 0 0 var(--sp-3);
  font-size: 13px;
  color: var(--text-soft);
}

.article__lead {
  margin: 0 0 var(--sp-4);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
}

.article p {
  margin: 0 0 var(--sp-3);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
}

.article h2 {
  margin: var(--sp-6) 0 var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.article ul {
  margin: 0 0 var(--sp-3);
  padding-left: 1.25em;
}

.article li {
  margin: 0 0 var(--sp-2);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}

.article strong {
  font-weight: 700;
  color: var(--text);
}

.article blockquote {
  margin: var(--sp-4) 0;
  padding: var(--sp-3) var(--sp-4);
  border-left: 3px solid var(--brand-muted);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article blockquote p {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

.article a {
  color: var(--brand);
}

.checklist-box {
  margin: var(--sp-4) 0 0;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.checklist-box__intro {
  margin: 0 0 var(--sp-3);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin: 0 0 var(--sp-2);
  padding-left: 1.9em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.booking-panel {
  max-width: 920px;
  margin: 0 auto;
}

.booking-embed {
  min-height: 680px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.booking-embed__frame {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
}

.booking-placeholder,
.booking-note {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.booking-placeholder {
  padding: var(--sp-5);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
}

.booking-note {
  margin: var(--sp-3) 0 0;
  text-align: center;
}

.booking-note a {
  color: var(--brand);
  font-weight: 600;
}

.booking-fallback {
  text-align: center;
  padding: var(--sp-5);
}

@media (max-width: 768px) {
  .booking-embed,
  .booking-embed__frame {
    min-height: 720px;
  }
}

/* —— Motion —— */

.reveal {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.reveal.is-visible {
  opacity: 1;
}

/* JS が走らない / 来ない環境では reveal を即時表示（progressive enhancement） */
.no-js .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Hero はファーストビューなので reveal アニメーションを無効化（CLS低減と体感速度向上） */
#top .reveal,
.trust .reveal {
  opacity: 1;
  transition: none;
}

/* Skip link（WCAG 2.4.1）: キーボード操作時のみ可視化 */
.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 200;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
}

/* —— Responsive —— */


@media (min-width: 901px) {
  .nav__brand {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .nav__cluster {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__actions .btn {
    padding: 8px 10px;
    font-size: 13px;
  }

  .grid-3,
  .spotlight,
  .challenge-grid,
  .engage-grid,
  .method-grid,
  .cases-grid,
  .resource-grid,
  .rationale-grid {
    grid-template-columns: 1fr;
  }

  .layer-detail {
    padding: var(--sp-4);
  }

  .layer-detail__head {
    grid-template-columns: auto 1fr;
    gap: var(--sp-2);
  }

  .layer-detail__marker {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .layer-detail__meta-row,
  .issue-block__meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .matrix__row {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .matrix__row > * {
    padding: var(--sp-2) 6px;
    font-size: 12px;
  }

  .matrix__cell {
    font-size: 16px;
  }

  .narrative__grid {
    grid-template-columns: 1fr;
  }
}

/* モバイル: ヘッダー1行・本文タイポ縮小（コピー量は維持） */
@media (max-width: 768px) {
  :root {
    --nav-h: 48px;
    --section-y: clamp(40px, 6vw, 56px);
    --section-y-compact: 28px;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .nav__brand {
    font-size: 14px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + var(--sp-4));
  }

  .hero .eyebrow {
    margin-top: 0;
  }

  #offer {
    padding-bottom: var(--sp-3);
  }

  section.cta-band {
    padding: var(--sp-3) 0;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: center;
    row-gap: var(--sp-2);
  }

  .cta-band__text {
    max-width: none;
    font-size: 16px;
    line-height: 1.5;
  }

  .cta-band__actions {
    flex-direction: column;
    width: 100%;
    justify-content: stretch;
    gap: 10px;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .h1 {
    font-size: clamp(30px, 8.5vw, 40px);
    margin-bottom: var(--sp-2);
  }

  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .lead-note {
    margin-bottom: var(--sp-3);
    font-size: 14px;
  }

  .h2 {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: var(--sp-2);
  }

  .sub {
    margin-bottom: var(--sp-3);
    font-size: 16px;
    line-height: 1.55;
  }

  .card {
    padding: var(--sp-2) var(--sp-3);
  }

  .card__t {
    font-size: 17px;
  }

  .card__lede {
    font-size: 14px;
  }

  .card__p {
    font-size: 15px;
    line-height: 1.65;
  }

  .card__deliv li {
    font-size: 13px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps > .reveal {
    padding: var(--sp-2) var(--sp-3);
  }

  .step__t {
    font-size: 16px;
  }

  .step__p {
    font-size: 14px;
    line-height: 1.6;
  }

  .pricing__body {
    font-size: 16px;
    line-height: 1.65;
  }

  .pricing-panel {
    padding: var(--sp-3);
  }

  .founder,
  .own-business,
  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .founder__aside {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .founder__bio p,
  .own-business__body p {
    font-size: 16px;
    line-height: 1.65;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-panel {
    padding: var(--sp-3) var(--sp-2);
  }

  .form-panel h3 {
    font-size: 20px;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  #offer {
    padding-bottom: var(--sp-2);
  }

  section.cta-band {
    padding: var(--sp-2) 0;
  }

  .pricing-panel .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn--submit-light:hover,
  .btn--brand:hover,
  .btn--accent:hover {
    transform: none;
  }

  .nav__drawer {
    transition: none;
  }

  .nav__toggle-icon span {
    transition: none;
  }

  .faq__icon,
  .faq__icon::after {
    transition: none;
  }

  .faq__item[open] .faq__a {
    animation: none;
  }
}

/* ============================================================
   /solution/ — Solution cards (parallel offering menu)
   ============================================================ */

.solution-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin: var(--sp-3) 0 var(--sp-4);
  padding: var(--sp-2);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  justify-content: center;
}

.solution-nav a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.solution-nav a:hover,
.solution-nav a:focus-visible {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-5);
  text-align: left;
}

.solution-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  scroll-margin-top: calc(var(--nav-h, 72px) + var(--sp-2));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.solution-card:hover {
  border-color: var(--brand);
}

.solution-card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.solution-card__num {
  font-family: 'Inter', 'Zen Kaku Gothic New', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0;
}

.solution-card__layer {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted, #5b6770);
  margin: 0;
}

.solution-card__layer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

.solution-card__layer a:hover {
  color: var(--brand-deep);
  text-decoration-color: var(--brand);
}

.solution-card__t {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  margin: 4px 0 0;
  color: #0c0c0c;
}

.solution-card__lead {
  font-size: 15px;
  line-height: 1.7;
  margin: 6px 0 0;
  color: var(--text, #0c0c0c);
}

.solution-card .tldr {
  margin: 0;
}

.solution-card__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: var(--sp-3);
  row-gap: var(--sp-2);
  margin: 0;
  align-items: start;
}

.solution-card__meta > div {
  display: contents;
}

.solution-card__meta dt {
  font-family: 'Inter', 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted, #5b6770);
  padding-top: 4px;
  white-space: nowrap;
}

.solution-card__meta dd {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: var(--text, #0c0c0c);
}

.solution-card__meta dd a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   /solution/ — Industry cards
   ============================================================ */

.industry-section {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h, 72px) + var(--sp-2));
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
  margin: var(--sp-3) 0 var(--sp-2);
  text-align: left;
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--sp-3);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.industry-card:hover {
  border-color: var(--brand);
  background: var(--surface);
}

.industry-card__label {
  font-family: 'Inter', 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0;
}

.industry-card__t {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: #0c0c0c;
}

.industry-card__lead {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  color: var(--text, #0c0c0c);
}

.industry-card__ttv {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.industry-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted, #5b6770);
  margin: var(--sp-3) 0 0;
  text-align: center;
  font-style: italic;
}

@media (min-width: 901px) {
  .solution-card {
    padding: var(--sp-4);
  }

  .solution-card__head {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: var(--sp-3);
    align-items: baseline;
  }

  .solution-card__num {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 4px;
    font-size: 14px;
  }

  .solution-card__layer {
    grid-column: 2;
    grid-row: 1;
  }

  .solution-card__t {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  .solution-card__lead {
    grid-column: 2;
    grid-row: 3;
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .solution-nav {
    margin: var(--sp-2) 0 var(--sp-3);
    padding: var(--sp-1);
  }

  .solution-nav a {
    font-size: 12px;
    padding: 5px 10px;
  }

  .solution-card__meta {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .solution-card__meta > div {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .solution-card__meta > div:last-child {
    border-bottom: none;
  }

  .solution-card__meta dt {
    padding-top: 0;
    padding-bottom: 4px;
    white-space: normal;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .solution-card {
    padding: var(--sp-2);
    border-radius: 12px;
  }

  .solution-card__t {
    font-size: 20px;
  }

  .industry-card {
    padding: var(--sp-2);
  }
}

/* ============================================================
   /cases/ — Disclaimer and small notes
   ============================================================ */

.cases-disclaimer {
  margin: var(--sp-3) 0 var(--sp-4);
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface-alt);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted, #454545);
  text-align: left;
}

.cases-disclaimer strong {
  color: var(--brand-deep);
  font-weight: 600;
}

.solution-card__meta dd em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted, #5b6770);
}

