/* ============================================
   Goat Plus - Bakuraku-style Renovation
   ============================================ */

:root {
  /* バクラク風カラーパレット */
  --c-primary: #0170B9;          /* メインブルー */
  --c-primary-dark: #015A95;
  --c-primary-light: #E8F2FA;
  --c-accent: #FFE58D;           /* アクセントイエロー */
  --c-accent-dark: #F4C842;

  --c-text: #3A3A3A;
  --c-text-soft: #4B4F58;
  --c-text-light: #8A9099;
  --c-heading: #1A1F2C;

  --c-bg: #FFFFFF;
  --c-bg-gray: #F5F5F5;
  --c-bg-blue: #F2F5F7;
  --c-border: #E5E8EC;
  --c-border-light: #F0F2F5;

  /* Typography */
  --font: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-8: 48px;
  --sp-10: 64px;
  --sp-12: 80px;
  --sp-16: 120px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(20,40,60,0.04);
  --shadow: 0 4px 16px rgba(20,40,60,0.06);
  --shadow-lg: 0 16px 48px rgba(20,40,60,0.08);

  --container: 1180px;
  --container-narrow: 920px;
  --header-h: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.7; }

h1, h2, h3, h4, h5 {
  color: var(--c-heading);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0 0 var(--sp-4);
}
h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.3; letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.35; }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 16px; }
p { margin: 0 0 var(--sp-4); }
ul { padding-left: 1.2em; }
strong { color: var(--c-heading); }

/* Container & Section */
.v2-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.v2-container--narrow { max-width: var(--container-narrow); }

.section {
  padding: var(--sp-16) 0;
}
.section--sm { padding: var(--sp-12) 0; }
.section--gray { background: var(--c-bg-gray); }
.section--blue { background: var(--c-bg-blue); }
.section--primary {
  background: linear-gradient(135deg, #0170B9 0%, #015A95 100%);
  color: #fff;
}
.section--primary h2,
.section--primary h3 { color: #fff; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-light);
  height: var(--header-h);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6);
}
.site-header__logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800;
  font-size: 22px;
  color: var(--c-heading);
  letter-spacing: -0.01em;
}
.site-header__logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.site-header__logo span { color: var(--c-primary); }

.site-nav {
  display: flex; align-items: center; gap: var(--sp-6);
  margin-left: auto;
}
.site-nav__list {
  display: flex; gap: var(--sp-6);
  list-style: none; margin: 0; padding: 0;
}
.site-nav__list a {
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav__actions {
  display: flex; gap: var(--sp-3); align-items: center;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-heading) !important;
}
.btn--primary:hover { background: var(--c-accent-dark); }

.btn--blue {
  background: var(--c-primary);
  color: #fff !important;
}
.btn--blue:hover { background: var(--c-primary-dark); }

.btn--outline {
  background: #fff;
  color: var(--c-primary) !important;
  border: 1.5px solid var(--c-primary);
}
.btn--outline:hover { background: var(--c-primary-light); }

.btn--ghost {
  background: transparent;
  color: var(--c-text) !important;
  padding: 10px 18px;
}

.btn--lg { font-size: 16px; padding: 18px 36px; }
.btn--sm { font-size: 13px; padding: 10px 20px; }
.btn::after { content: "→"; font-weight: 600; }
.btn--no-arrow::after { display: none; }

/* ========== Hero ========== */
.hero {
  background: linear-gradient(180deg, #F2F5F7 0%, #FFFFFF 100%);
  padding: var(--sp-16) 0 var(--sp-12);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-10);
  align-items: center;
}
.hero__inner > * { min-width: 0; }
.hero h1, .hero__lead { word-break: break-word; overflow-wrap: anywhere; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--sp-5);
}
.hero h1 {
  margin-bottom: var(--sp-5);
}
.hero h1 mark {
  background: linear-gradient(transparent 60%, var(--c-accent) 60%);
  color: inherit;
  padding: 0 2px;
}
.hero__lead {
  font-size: 17px;
  color: var(--c-text-soft);
  margin-bottom: var(--sp-6);
  line-height: 1.9;
}
.hero__ctas {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.hero__meta {
  display: flex; gap: var(--sp-5); flex-wrap: wrap;
  font-size: 13px;
  color: var(--c-text-light);
}
.hero__meta-item { display: flex; align-items: center; gap: 6px; }
.hero__meta-item::before {
  content: "✓";
  color: var(--c-primary);
  font-weight: 700;
}

/* Image Placeholder (バクラク風UIキービジュアル) */
.image-placeholder {
  background: #fff;
  border: 2px dashed var(--c-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--c-text-light);
  text-align: center;
  padding: var(--sp-6);
  position: relative;
  min-height: 240px;
  max-width: 100%;
  overflow: hidden;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.image-placeholder * {
  max-width: 100%;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.image-placeholder__label {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.05em;
}
.image-placeholder__title {
  font-weight: 700;
  color: var(--c-heading);
  font-size: 14px;
  margin-bottom: 4px;
}
.image-placeholder__desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-text-light);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0;
}
.image-placeholder--hero {
  min-height: 420px;
  background: linear-gradient(135deg, #fff 0%, var(--c-primary-light) 100%);
  box-shadow: var(--shadow-lg);
  border-style: solid;
  border-color: var(--c-border-light);
}
.image-placeholder--screen {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #fff 0%, #F8FAFC 100%);
  box-shadow: var(--shadow);
  border-style: solid;
  border-color: var(--c-border-light);
}
.image-placeholder--square { aspect-ratio: 1/1; min-height: 0; }
.image-placeholder--wide { aspect-ratio: 21/9; min-height: 0; }

/* ========== Logo strip ========== */
.logo-strip {
  background: #fff;
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
}
.logo-strip__label {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-light);
  margin-bottom: var(--sp-5);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.logo-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: center;
}
.logo-strip__grid > * { min-width: 0; }
.logo-strip__item {
  aspect-ratio: 3/1;
  background: var(--c-bg-gray);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-light);
  font-size: 11px;
  filter: grayscale(1);
  opacity: 0.7;
}

/* ========== Section Header ========== */
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-10);
}
.sec-head__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.sec-head h2 {
  margin-bottom: var(--sp-4);
}
.sec-head p {
  color: var(--c-text-soft);
  font-size: 16px;
}
.sec-head--left {
  text-align: left;
  margin-left: 0;
}

/* ========== Feature Grid (cards) ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--sp-5);
}
.feature-grid > * { min-width: 0; }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius);
  padding: var(--sp-6);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--c-border);
}
.feature-card__icon {
  width: 48px; height: 48px;
  background: var(--c-primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  color: var(--c-primary);
  font-size: 22px;
  font-weight: 700;
}
.feature-card__num {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
}
.feature-card h3 {
  margin-bottom: var(--sp-3);
  font-size: 18px;
}
.feature-card p {
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.8;
  margin: 0;
}
.feature-card__tag {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.04em;
}

/* ========== Feature Row (img + text) ========== */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--sp-10);
  align-items: center;
  margin-bottom: var(--sp-16);
}
.feature-row > * { min-width: 0; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.feature-row--reverse .feature-row__media { order: -1; }
.feature-row__eyebrow {
  display: inline-block;
  font-size: 12px;
  color: var(--c-primary);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.feature-row__body h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: var(--sp-4);
}
.feature-row__body p {
  color: var(--c-text-soft);
  font-size: 15px;
}
.feature-row__check {
  list-style: none; padding: 0; margin: var(--sp-5) 0 0;
}
.feature-row__check li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14px;
}
.feature-row__check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px; height: 18px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ========== Stats ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}
.stats > * { min-width: 0; }
.stat {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius);
  padding: var(--sp-6);
  text-align: center;
}
.stat__num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}
.stat__num small {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  margin-left: 4px;
}
.stat__label {
  font-size: 13px;
  color: var(--c-text-soft);
  font-weight: 600;
}
.stat__sub {
  display: block;
  font-size: 11px;
  color: var(--c-text-light);
  margin-top: 6px;
  font-weight: 400;
}

/* ========== Steps ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  position: relative;
}
.steps > * { min-width: 0; }
.step {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius);
  padding: var(--sp-6);
  position: relative;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 50%;
  margin-bottom: var(--sp-4);
  font-family: var(--font);
}
.step h3 { font-size: 17px; margin-bottom: var(--sp-2); }
.step p { font-size: 14px; color: var(--c-text-soft); margin: 0; }

/* ========== FAQ ========== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  padding: var(--sp-5) var(--sp-6);
  font-weight: 700;
  color: var(--c-heading);
  list-style: none;
  position: relative;
  padding-right: 60px;
  padding-left: 56px;
  font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  position: absolute;
  left: var(--sp-5);
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: var(--sp-5);
  top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--c-text-light);
  border-bottom: 2px solid var(--c-text-light);
  transform: translateY(-75%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq__body {
  padding: 0 var(--sp-6) var(--sp-5) 56px;
  color: var(--c-text-soft);
  font-size: 14px;
  line-height: 1.9;
}

/* ========== Page Hero (sub pages) ========== */
.page-hero {
  background: linear-gradient(135deg, #F2F5F7 0%, #E8F2FA 100%);
  padding: var(--sp-12) 0 var(--sp-10);
  text-align: center;
}
.page-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.page-hero h1 {
  margin-bottom: var(--sp-3);
}
.page-hero p {
  font-size: 17px;
  color: var(--c-text-soft);
  max-width: 720px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 13px;
  color: var(--c-text-light);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border-light);
}
.breadcrumb a { color: var(--c-text-light); }
.breadcrumb span { margin: 0 8px; }

/* ========== News List ========== */
.news-list {
  list-style: none; padding: 0; margin: 0;
  max-width: 820px;
  margin: 0 auto;
}
.news-list li {
  display: grid;
  grid-template-columns: 100px 90px 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--c-border-light);
  align-items: center;
}
.news-list time {
  font-size: 14px;
  color: var(--c-text-light);
  font-weight: 600;
}
.news-list .tag {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-weight: 700;
  text-align: center;
}
.news-list a { color: var(--c-heading); font-weight: 600; }

/* ========== CTA Block ========== */
.cta-block {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  padding: var(--sp-12) var(--sp-6);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 240px; height: 240px;
  background: rgba(255,229,141,0.15);
  border-radius: 50%;
}
.cta-block::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-block p { color: rgba(255,255,255,0.9); margin-bottom: var(--sp-6); }
.cta-block__ctas { display: flex; justify-content: center; gap: var(--sp-3); flex-wrap: wrap; }

/* ========== Form ========== */
.form-block {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-field { margin-bottom: var(--sp-5); }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--c-heading);
}
.form-field label .req {
  color: #E0364E;
  font-size: 11px;
  background: #FCE8EC;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 700;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(1,112,185,0.12);
}

/* ========== Download list ========== */
.dl-list { list-style: none; padding: 0; margin: 0; }
.dl-list li {
  display: flex; align-items: center; gap: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin-bottom: var(--sp-3);
  transition: box-shadow .2s, transform .15s;
}
.dl-list li:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.dl-list__thumb {
  width: 80px; height: 100px;
  background: var(--c-bg-gray);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--c-text-light);
  text-align: center;
  padding: 4px;
}
.dl-list__body { flex: 1; }
.dl-list__body h4 { margin: 0 0 4px; color: var(--c-heading); font-size: 16px; }
.dl-list__body small { color: var(--c-text-light); font-size: 12px; }

/* ========== Footer ========== */
.site-footer {
  background: #1A1F2C;
  color: #B8BFC9;
  padding: var(--sp-12) 0 var(--sp-6);
}
.site-footer a { color: #B8BFC9; }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}
.site-footer__grid > * { min-width: 0; }
.site-footer__brand p {
  font-size: 13px;
  color: #8A9099;
  margin-top: var(--sp-4);
}
.site-footer__col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 10px; font-size: 14px; }
.site-footer__bottom {
  border-top: 1px solid #2D3340;
  padding-top: var(--sp-5);
  font-size: 12px;
  color: #6A7180;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
}

/* ========== Problem Cards (課題) ========== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.problem-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  border-top: 4px solid #E0364E;
  box-shadow: var(--shadow-sm);
}
.problem-card__label {
  display: inline-block;
  background: #FCE8EC;
  color: #C0223A;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.05em;
}
.problem-card h3 {
  font-size: 20px;
  color: #1A1F2C;
  margin-bottom: var(--sp-3);
}
.problem-card p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin: 0;
}
.problem-card__big {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #C0223A;
  line-height: 1.2;
  margin: var(--sp-3) 0;
  letter-spacing: -0.01em;
}
.problem-card ul {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
}
.problem-card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--c-text-soft);
  margin-bottom: 6px;
  line-height: 1.7;
}
.problem-card ul li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  color: #E0364E;
  font-weight: 700;
}

/* ========== Pillar Cards (3本柱: 効率性/継続性/信頼性) ========== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.pillar-grid > * { min-width: 0; }
.pillar-card {
  background: linear-gradient(180deg, #fff 0%, var(--c-primary-light) 100%);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  text-align: center;
}
.pillar-card__icon {
  width: 64px; height: 64px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto var(--sp-4);
}
.pillar-card h3 {
  color: var(--c-primary);
  font-size: 18px;
  margin-bottom: var(--sp-2);
}
.pillar-card p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin: 0;
}

/* ========== Story Flow (3列フロー) ========== */
.story-flow {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: var(--sp-3);
  align-items: stretch;
}
.story-flow__step {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-align: center;
}
.story-flow__step--problem { border-top: 4px solid #E0364E; }
.story-flow__step--key { border-top: 4px solid #4A90A4; }
.story-flow__step--result { border-top: 4px solid #2F8A5A; }
.story-flow__step h4 {
  font-size: 13px;
  color: var(--c-text-light);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.05em;
}
.story-flow__step h3 {
  font-size: 17px;
  margin-bottom: var(--sp-3);
}
.story-flow__step p {
  font-size: 13px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.7;
}
.story-flow__arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  font-size: 28px;
  font-weight: 700;
}

/* ========== Feature Module (機能 with サブ機能リスト) ========== */
.feature-module {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.feature-module__header {
  display: flex; align-items: center; gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c-border-light);
}
.feature-module__num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-module__title h3 { margin: 0 0 4px; font-size: 22px; }
.feature-module__title p {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-light);
  font-weight: 600;
}
.feature-module__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}
.feature-module__body > * { min-width: 0; }
.feature-module__media {
  background: linear-gradient(135deg, #fff 0%, #F8FAFC 100%);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  min-width: 0;
  max-width: 100%;
}
.sub-features { list-style: none; padding: 0; margin: 0; }
.sub-features li {
  padding: var(--sp-4) 0;
  border-bottom: 1px dashed var(--c-border);
}
.sub-features li:last-child { border-bottom: none; }
.sub-features h4 {
  font-size: 15px;
  color: var(--c-primary);
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.sub-features h4::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.sub-features p {
  font-size: 13px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.8;
  padding-left: 16px;
}

/* ========== Patent Banner ========== */
.patent-banner {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFAE6 100%);
  border: 1px solid var(--c-accent-dark);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.patent-banner__icon {
  width: 36px; height: 36px;
  background: var(--c-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.patent-banner__text {
  font-size: 13px;
  color: var(--c-text);
  font-weight: 600;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ========== Quote / Pull-quote ========== */
.pull-quote {
  background: #fff;
  border-left: 5px solid var(--c-primary);
  padding: var(--sp-5) var(--sp-6);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.pull-quote span {
  display: block;
  font-size: 13px;
  color: var(--c-text-light);
  font-weight: 500;
  margin-top: var(--sp-2);
}

/* ========== Supervisor Card ========== */
.supervisor {
  background: linear-gradient(135deg, #F2F5F7 0%, #E8F2FA 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
}
.supervisor > * { min-width: 0; }
.supervisor__photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--c-border-light);
  box-shadow: var(--shadow);
}
.supervisor__name {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-heading);
  margin-bottom: 4px;
}
.supervisor__role {
  font-size: 13px;
  color: var(--c-primary);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  letter-spacing: 0.05em;
}
.supervisor__bio {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
}
.supervisor__bio li {
  font-size: 14px;
  color: var(--c-text-soft);
  padding: 4px 0 4px 22px;
  position: relative;
}
.supervisor__bio li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 700;
}
.supervisor__quote {
  background: #fff;
  padding: var(--sp-4);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--c-text);
  border-left: 3px solid var(--c-accent);
}

/* ========== Timeline (大町市との歩み) ========== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 23px;
  width: 2px;
  background: linear-gradient(180deg,
    #E5E8EC 0%,
    var(--c-primary) 30%,
    var(--c-primary) 70%,
    var(--c-accent-dark) 100%);
}
.timeline__item {
  position: relative;
  padding-left: 70px;
  padding-bottom: var(--sp-8);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 24px; height: 24px;
  background: #fff;
  border: 3px solid var(--c-primary);
  border-radius: 50%;
  z-index: 1;
}
.timeline__item--start .timeline__dot { border-color: var(--c-text-light); }
.timeline__item--turning .timeline__dot {
  background: var(--c-accent);
  border-color: var(--c-accent-dark);
  box-shadow: 0 0 0 6px rgba(255,229,141,0.3);
}
.timeline__item--now .timeline__dot {
  background: var(--c-primary);
  border-color: var(--c-primary);
  box-shadow: 0 0 0 6px rgba(1,112,185,0.15);
}
.timeline__date {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.timeline__item--start .timeline__date { color: var(--c-text-light); }
.timeline__item--turning .timeline__date { color: var(--c-accent-dark); }
.timeline__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--c-heading);
  margin: 0 0 var(--sp-3);
  line-height: 1.5;
}
.timeline__body {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.timeline__body p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin: 0 0 var(--sp-3);
  line-height: 1.9;
}
.timeline__body p:last-child { margin-bottom: 0; }
.timeline__highlight {
  display: inline-block;
  background: linear-gradient(transparent 60%, var(--c-accent) 60%);
  font-weight: 700;
  color: var(--c-heading);
  padding: 0 2px;
}
.timeline__tag {
  display: inline-block;
  background: var(--c-bg-gray);
  color: var(--c-text-soft);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 6px;
  letter-spacing: 0.04em;
}
.timeline__tag--key {
  background: #FFE58D;
  color: #8a6a00;
}
.timeline__tag--build {
  background: var(--c-primary-light);
  color: var(--c-primary);
}
.timeline__quote {
  background: var(--c-bg-blue);
  border-left: 3px solid var(--c-primary);
  padding: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-3);
  font-size: 13px;
  font-style: italic;
  color: var(--c-text);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.timeline__quote::before {
  content: "「";
  font-weight: 700;
  color: var(--c-primary);
}
.timeline__quote::after {
  content: "」";
  font-weight: 700;
  color: var(--c-primary);
}

@media (max-width: 640px) {
  .timeline__item { padding-left: 56px; }
  .timeline::before { left: 19px; }
  .timeline__dot { left: 8px; width: 22px; height: 22px; }
  .timeline__body { padding: var(--sp-4); }
}

/* ========== Phase Table (5フェーズ) ========== */
.phase-table {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  background: var(--c-border-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border-light);
}
.phase-table > * { min-width: 0; }
.phase-table__cell {
  background: #fff;
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}
.phase-table__cell--header {
  background: var(--c-primary);
  color: #fff;
}
.phase-table__phase {
  font-size: 11px;
  color: var(--c-text-light);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.phase-table__cell--header .phase-table__phase { color: rgba(255,255,255,0.8); }
.phase-table__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-heading);
}
.phase-table__cell--header .phase-table__title { color: #fff; }

/* ============================================
   Voice Cards (自治体職員の声)
   ============================================ */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
  max-width: 980px;
  margin: 0 auto;
}
.voice-grid > * { min-width: 0; }
.voice-card {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.voice-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.voice-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-bg-gray);
  flex-shrink: 0;
}
.voice-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.voice-card__photo .image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-style: dashed;
  border-width: 2px;
  padding: 8px;
  min-height: 0;
  text-align: center;
}
.voice-card__photo .image-placeholder__label {
  font-size: 9px;
  padding: 2px 6px;
  margin-bottom: 4px;
}
.voice-card__photo .image-placeholder__title {
  font-size: 11px;
  margin-bottom: 0;
  line-height: 1.3;
}
.voice-card__photo .image-placeholder__desc {
  display: none;
}
.voice-card__body {
  position: relative;
  min-width: 0;
}
.voice-card__quote-mark {
  position: absolute;
  top: -16px;
  left: -6px;
  font-size: 64px;
  line-height: 1;
  color: var(--c-primary);
  opacity: 0.18;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  pointer-events: none;
}
.voice-card__comment {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.9;
  margin: 0 0 var(--sp-5);
  padding-top: var(--sp-3);
  position: relative;
  min-height: 72px;
}
.voice-card__comment em {
  font-style: italic;
  color: var(--c-text-light);
  font-size: 13px;
}
.voice-card__person {
  border-top: 1px solid var(--c-border-light);
  padding-top: var(--sp-3);
}
.voice-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 2px;
}
.voice-card__role {
  font-size: 12px;
  color: var(--c-text-soft);
  font-weight: 600;
}

@media (max-width: 760px) {
  .voice-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .voice-card { padding: var(--sp-5); grid-template-columns: 72px minmax(0, 1fr); gap: var(--sp-4); }
  .voice-card__photo { width: 72px; height: 72px; }
}

/* ============================================
   Real image utilities (差し替え後の<img>用)
   ============================================ */

/* feature-module 内のメディア用 */
.media-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--c-border-light);
  background: #fff;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: top center;
  max-width: 100%;
}
/* スクショ全体を見せる16:10系 */
.media-img--screen {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
/* 縦長スマホ系のスクショ用 */
.media-img--tall {
  max-height: 640px;
  object-fit: contain;
  object-position: center top;
  background: var(--c-bg-blue);
  padding: var(--sp-3);
}
/* ヒーロー右側用（少し傾けて立体感） */
.media-img--hero {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  transition: transform .4s ease;
  background: #fff;
}
.media-img--hero:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(1deg) scale(1.01);
}
/* ヒーロー用（合成画像でデバイスモックが既に立体的に描かれている場合） */
.media-img--hero-clean {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.media-img--hero-clean:hover {
  transform: translateY(-6px);
}
/* ワイド帯（SVC-HERO 等） */
.media-img--wide {
  aspect-ratio: 21/9;
  object-fit: cover;
  object-position: top center;
}
/* AIチャットなど縦長書類のサムネ */
.media-img--doc {
  max-height: 560px;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  padding: var(--sp-3);
}
@media (max-width: 640px) {
  .media-img--hero { transform: none; }
  .media-img--hero-clean:hover { transform: none; }
  .media-img--tall, .media-img--doc { max-height: 480px; }
}

/* ============================================
   Animations (Service Detail Page)
   ============================================ */

/* 1. Scroll Fade-in（共通） */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1),
              transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* スタッガード */
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* 2. Timeline 縦線「伸びる」 */
.timeline { --timeline-progress: 0%; }
.timeline::before {
  background: #E5E8EC; /* ベースはグレー */
}
.timeline::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 23px;
  width: 2px;
  height: var(--timeline-progress);
  background: linear-gradient(180deg,
    var(--c-primary) 0%,
    var(--c-primary) 70%,
    var(--c-accent-dark) 100%);
  z-index: 0;
  transition: height .15s linear;
  pointer-events: none;
}
@media (max-width: 640px) {
  .timeline::after { left: 19px; }
}

/* タイムライン項目の入場（スライドイン） */
.timeline__item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1),
              transform .6s cubic-bezier(.2,.7,.2,1);
}
.timeline__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 重要ドットのパルス（転機・次の課題、現在） */
@keyframes pulseAccent {
  0%   { box-shadow: 0 0 0 0   rgba(244,200,66,0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(244,200,66,0);   }
  100% { box-shadow: 0 0 0 0   rgba(244,200,66,0);    }
}
@keyframes pulsePrimary {
  0%   { box-shadow: 0 0 0 0   rgba(1,112,185,0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(1,112,185,0);    }
  100% { box-shadow: 0 0 0 0   rgba(1,112,185,0);     }
}
.timeline__item--turning.is-visible .timeline__dot {
  animation: pulseAccent 1.6s ease-out 0.2s 2;
}
.timeline__item--now.is-visible .timeline__dot {
  animation: pulsePrimary 1.8s ease-out 0.2s infinite;
}

/* 3. Phase Table 順次点灯 */
.phase-table .phase-table__cell--header {
  background: var(--c-bg-gray);
  color: var(--c-text-light);
  transition: background .4s ease, color .4s ease;
}
.phase-table .phase-table__cell--header .phase-table__phase { color: var(--c-text-light); }
.phase-table .phase-table__cell--header .phase-table__title { color: var(--c-text); }
.phase-table.is-visible .phase-table__cell--header {
  background: var(--c-primary);
  color: #fff;
}
.phase-table.is-visible .phase-table__cell--header .phase-table__phase { color: rgba(255,255,255,0.8); }
.phase-table.is-visible .phase-table__cell--header .phase-table__title { color: #fff; }
.phase-table.is-visible .phase-table__cell--header:nth-child(1) { transition-delay: 0ms; }
.phase-table.is-visible .phase-table__cell--header:nth-child(2) { transition-delay: 150ms; }
.phase-table.is-visible .phase-table__cell--header:nth-child(3) { transition-delay: 300ms; }
.phase-table.is-visible .phase-table__cell--header:nth-child(4) { transition-delay: 450ms; }
.phase-table.is-visible .phase-table__cell--header:nth-child(5) { transition-delay: 600ms; }

/* 4. ライブ配信プレースホルダの REC 点滅 */
.rec-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.rec-indicator::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E0364E;
  animation: recBlink 1.4s ease-in-out infinite;
}
@keyframes recBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.85); }
}

/* 5. 構想中プレースホルダの点線回転 */
.image-placeholder--concept {
  position: relative;
  overflow: hidden;
}
.image-placeholder--concept::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: var(--radius);
  border: 2px dashed var(--c-accent-dark);
  opacity: 0.55;
  pointer-events: none;
  animation: dashSpin 24s linear infinite;
  transform-origin: center;
}
@keyframes dashSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.image-placeholder--concept .image-placeholder__label {
  background: var(--c-accent-dark);
  color: #fff;
  z-index: 1;
}

/* 6. 読書プログレスバー */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent-dark));
  z-index: 200;
  transition: width .1s linear;
  pointer-events: none;
}

/* Reduced motion 対応 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .timeline__item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .timeline::after { display: none; }
  .timeline::before {
    background: linear-gradient(180deg,
      #E5E8EC 0%,
      var(--c-primary) 30%,
      var(--c-primary) 70%,
      var(--c-accent-dark) 100%);
  }
  .timeline__item--turning.is-visible .timeline__dot,
  .timeline__item--now.is-visible .timeline__dot { animation: none; }
  .rec-indicator::before { animation: none; }
  .image-placeholder--concept::before { animation: none; }
  .reading-progress { display: none; }
  .phase-table .phase-table__cell--header {
    background: var(--c-primary);
    color: #fff;
  }
  .phase-table .phase-table__cell--header .phase-table__phase { color: rgba(255,255,255,0.8); }
  .phase-table .phase-table__cell--header .phase-table__title { color: #fff; }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-5 { margin-top: var(--sp-5); }
.mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0 !important; }
.note {
  background: #FFFAE6;
  border-left: 4px solid var(--c-accent-dark);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--c-text-soft);
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
  .feature-grid--3,
  .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row,
  .feature-row--reverse { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); margin-bottom: var(--sp-10); }
  .feature-row--reverse .feature-row__media { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-6); }
  .site-nav__list { display: none; }
  .problem-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar-grid { grid-template-columns: minmax(0, 1fr); }
  .story-flow { grid-template-columns: minmax(0, 1fr); }
  .story-flow__arrow { transform: rotate(90deg); padding: var(--sp-2); }
  .feature-module__body { grid-template-columns: minmax(0, 1fr); }
  .feature-module { padding: var(--sp-5); }
  .supervisor { grid-template-columns: minmax(0, 1fr); }
  .supervisor__photo { width: 100%; max-width: 420px; margin: 0 auto; }
  .phase-table { grid-template-columns: minmax(0, 1fr); }
  /* ヒーローのbrを無効化（自然折り返し） */
  .hero h1 br, .hero__lead br { display: none; }
}
@media (max-width: 640px) {
  :root { --sp-16: 80px; --sp-12: 64px; }
  .v2-container { padding: 0 var(--sp-4); }
  .site-header__inner { padding: 0 var(--sp-4); gap: var(--sp-3); }
  .hero__inner { padding: 0 var(--sp-4); }
  .feature-grid--3,
  .feature-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .news-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .logo-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-list li { flex-direction: column; align-items: stretch; }
  .dl-list__thumb { width: 100%; height: 80px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__bottom { justify-content: center; text-align: center; }
  /* 画像プレースホルダをモバイルでコンパクトに */
  .image-placeholder { min-height: 160px; padding: var(--sp-4); }
  .image-placeholder--hero { min-height: 280px; }
  .image-placeholder__title { font-size: 13px; }
  .image-placeholder__desc { font-size: 11px; }
  /* feature-module の番号バッジを縮小 */
  .feature-module__num { width: 44px; height: 44px; font-size: 18px; }
  .feature-module__title h3 { font-size: 18px; }
  /* CTAボタンの折り返し */
  .hero__ctas, .cta-block__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn, .cta-block__ctas .btn { width: 100%; }
  /* ヘッダーアクション最小化 */
  .site-nav__actions .btn { padding: 8px 12px; font-size: 12px; }
  /* タイムラインの内側パディングを少し詰める */
  .timeline__title { font-size: 16px; }
}
