/* 志望校LP共通ベース。パレットは body.lp-school--* で上書き */
.lp-school {
  --bg: #fff7ed;
  --card: #ffffff;
  --text: #172033;
  --muted: #64748b;
  --primary: #f97316;
  --primary-dark: #ea580c;
  --accent: #2563eb;
  --indigo: #4338ca;
  --green: #059669;
  --rose: #db2777;
  --sky: #0891b2;
  --gold: #b98335;
  --cyan: #37a7bd;
  --border: #fed7aa;
  --soft: #fff3df;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
  --brand: #9a3412;
  --badge-bg: #eef2ff;
  --badge-border: #c7d2fe;
  --badge-color: #3730a3;
  --hero-spot: rgba(14, 165, 233, 0.18);
  --body-bg: linear-gradient(135deg, #fffaf0 0%, #fff7ed 48%, #eff6ff 100%);
  --topbar-border: #fde68a;
  --hero-point-color: #7c2d12;
  --price-color: #9a3412;
  --final-cta-bg: linear-gradient(135deg, #fff7ed, #fff, #eef2ff);
  --final-cta-accent: var(--primary);
  --sticky-border: #fed7aa;
}

.lp-school--kaisei {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --accent: #2563eb;
  --indigo: #4338ca;
  --brand: #9a3412;
  --border: #fed7aa;
  --soft: #fff3df;
  --badge-bg: #eef2ff;
  --badge-border: #c7d2fe;
  --badge-color: #3730a3;
  --hero-spot: rgba(14, 165, 233, 0.18);
  --body-bg: linear-gradient(135deg, #fffaf0 0%, #fff7ed 48%, #eff6ff 100%);
  --topbar-border: #fde68a;
  --hero-point-color: #7c2d12;
  --price-color: #9a3412;
  --final-cta-bg: linear-gradient(135deg, #fff7ed, #fff, #eef2ff);
  --final-cta-accent: var(--primary);
  --sticky-border: #fed7aa;
}

.lp-school--tsukukoma {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #059669;
  --indigo: #4338ca;
  --green: #059669;
  --brand: #064e3b;
  --border: #bfdbfe;
  --soft: #eff6ff;
  --badge-bg: #ecfdf5;
  --badge-border: #86efac;
  --badge-color: #065f46;
  --hero-spot: rgba(16, 185, 129, 0.18);
  --body-bg:
    radial-gradient(circle at 8% 18%, rgba(34, 197, 94, 0.10), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.14), transparent 28%),
    linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 42%, #eef2ff 100%);
  --topbar-border: #dbeafe;
  --hero-point-color: #1e3a8a;
  --price-color: #1e40af;
  --final-cta-bg: linear-gradient(135deg, #f0f9ff, #fff, #ecfdf5);
  --final-cta-accent: var(--green);
  --sticky-border: #bfdbfe;
}

.lp-school--shibushibu {
  --primary: #0f766e;
  --primary-dark: #134e4a;
  --accent: #0e7490;
  --cyan: #0d9488;
  --gold: #b45309;
  --indigo: #0f766e;
  --brand: #134e4a;
  --border: #99f6e4;
  --soft: #f0fdfa;
  --badge-bg: #f0fdfa;
  --badge-border: #99f6e4;
  --badge-color: #115e59;
  --hero-spot: rgba(13, 148, 136, 0.16);
  --body-bg:
    radial-gradient(circle at 8% 18%, rgba(13, 148, 136, 0.10), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(15, 118, 110, 0.12), transparent 28%),
    linear-gradient(135deg, #f7f5ef 0%, #f0fdfa 42%, #ecfeff 100%);
  --topbar-border: #99f6e4;
  --hero-point-color: #115e59;
  --price-color: #134e4a;
  --final-cta-bg: linear-gradient(135deg, #f0fdfa, #fff, #ecfeff);
  --final-cta-accent: var(--cyan);
  --sticky-border: #99f6e4;
}

.lp-school--ouin {
  --primary: #9f1239;
  --primary-dark: #4c0519;
  --accent: #be185d;
  --cyan: #db2777;
  --gold: #be185d;
  --indigo: #9f1239;
  --brand: #4c0519;
  --border: #fecdd3;
  --soft: #fff1f2;
  --badge-bg: #fff1f2;
  --badge-border: #fecdd3;
  --badge-color: #9f1239;
  --hero-spot: rgba(190, 24, 93, 0.16);
  --body-bg:
    radial-gradient(circle at 8% 18%, rgba(244, 63, 94, 0.10), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(159, 18, 57, 0.12), transparent 28%),
    linear-gradient(135deg, #fff7ed 0%, #fff1f2 42%, #fdf2f8 100%);
  --topbar-border: #fecdd3;
  --hero-point-color: #9f1239;
  --price-color: #4c0519;
  --final-cta-bg: linear-gradient(135deg, #fff1f2, #fff, #fdf2f8);
  --final-cta-accent: var(--primary);
  --sticky-border: #fecdd3;
}

.lp-school--musashi {
  --primary: #b45309;
  --primary-dark: #431407;
  --accent: #ca8a04;
  --cyan: #b45309;
  --gold: #ca8a04;
  --indigo: #92400e;
  --brand: #431407;
  --border: #fde68a;
  --soft: #fffbeb;
  --badge-bg: #fffbeb;
  --badge-border: #fde68a;
  --badge-color: #92400e;
  --hero-spot: rgba(202, 138, 4, 0.16);
  --body-bg:
    radial-gradient(circle at 8% 18%, rgba(202, 138, 4, 0.12), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(180, 83, 9, 0.12), transparent 28%),
    linear-gradient(135deg, #fffbeb 0%, #fef3c7 42%, #fff7ed 100%);
  --topbar-border: #fde68a;
  --hero-point-color: #92400e;
  --price-color: #92400e;
  --final-cta-bg: linear-gradient(135deg, #fffbeb, #fff, #fef3c7);
  --final-cta-accent: var(--gold);
  --sticky-border: #fde68a;
}

.lp-school--azabu {
  --primary: #166534;
  --primary-dark: #052e16;
  --accent: #15803d;
  --cyan: #166534;
  --gold: #4d7c0f;
  --indigo: #14532d;
  --brand: #052e16;
  --border: #bbf7d0;
  --soft: #f0fdf4;
  --badge-bg: #f0fdf4;
  --badge-border: #86efac;
  --badge-color: #166534;
  --hero-spot: rgba(22, 101, 52, 0.16);
  --body-bg:
    radial-gradient(circle at 8% 18%, rgba(22, 101, 52, 0.10), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(21, 128, 61, 0.12), transparent 28%),
    linear-gradient(135deg, #f7f5ef 0%, #f0fdf4 42%, #ecfdf5 100%);
  --topbar-border: #bbf7d0;
  --hero-point-color: #166534;
  --price-color: #14532d;
  --final-cta-bg: linear-gradient(135deg, #f0fdf4, #fff, #ecfdf5);
  --final-cta-accent: var(--primary);
  --sticky-border: #bbf7d0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.lp-school {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--body-bg);
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
.lp-school a { color: inherit; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--topbar-border);
}
.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  text-decoration: none;
  font-size: 19px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.01em;
}
.brand-sub {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--badge-color);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
}
.navlinks { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.btn-secondary { color: var(--brand); background: #fff; border-color: var(--border); }
.btn-indigo { color: #fff; background: linear-gradient(135deg, var(--indigo), var(--accent)); }
.btn-ghost { color: #475569; background: #fff; border-color: #cbd5e1; box-shadow: none; }
.small { font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); }
.section { padding: 60px 0; }
.section--tight { padding: 44px 0; }
h1, h2, h3 { line-height: 1.32; margin: 0 0 14px; }
h1 { font-size: clamp(30px, 4.9vw, 52px); letter-spacing: -0.02em; }
h2 { font-size: clamp(23px, 3.6vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: clamp(18px, 2.4vw, 23px); }
p { margin: 0 0 14px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-color);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 14px;
}
.hero { padding: 70px 0 36px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -100px -60px auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-spot), transparent 68%);
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}
.lead { font-size: clamp(16px, 2vw, 19px); color: #475569; }
.hero-story { margin-top: 16px; }
.hero-story p {
  margin: 0 0 12px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.75;
  color: #475569;
}
.hero-story p:last-child { margin-bottom: 0; }
.hero-story__why {
  font-size: clamp(17px, 2.1vw, 20px) !important;
  font-weight: 800;
  color: var(--brand) !important;
}
.story-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.story-list li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15.5px;
  line-height: 1.7;
  color: #334155;
}
.story-list li:first-child { padding-top: 0; }
.story-list li:last-child { border-bottom: 0; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}
.hero-point {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--hero-point-color);
}
.hero-stat {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 16px;
  font-size: 16px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.5;
}
.hero-stat span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.hero-lab-cta {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 800;
}
.hero-lab-cta a { text-decoration: none; border-bottom: 1px solid currentColor; }
.screen-stack { position: relative; min-height: 420px; }
.screen-stack--cards { display: grid; gap: 14px; min-height: 380px; }
.browser-shot {
  background: #fff;
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.browser-shot img, .shot img, .phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.hero-browser { transform: rotate(-1deg); }
.hero-phone { position: absolute; width: 31%; right: 2%; bottom: -2%; transform: rotate(2deg); }
.phone {
  background: #111827;
  border-radius: 27px;
  padding: 9px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.phone--light { background: #fff; border: 1px solid #e2e8f0; }
.caption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 9px; }
.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.problem {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 7px solid var(--primary);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.flow { display: grid; gap: 12px; }
.flow-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
  min-height: 142px;
}
.flow-card__num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 10px;
}
.flow-card strong { display: block; font-size: 18px; margin-bottom: 6px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
}
.pill--green { border-color: #bbf7d0; background: #f0fdf4; color: #047857; }
.pill--gold { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.shot {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.feature-band {
  background: linear-gradient(135deg, var(--soft), #fff, #f0f9ff);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.phone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.phone-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
}
.nav-back-shot {
  max-width: 280px;
  margin: 0 auto;
}
.phone-card p { font-size: 13px; color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 16px 16px 54px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  margin-bottom: 10px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  font-weight: 900;
}
.price-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 11px 10px; border-bottom: 1px solid #f1f5f9; text-align: left; }
.price-table th { color: #64748b; font-weight: 700; }
.price-table td { text-align: right; font-weight: 900; white-space: nowrap; }
.price-feature { background: linear-gradient(180deg, var(--soft), #fff); border: 2px solid var(--primary); }
.price-amount { font-size: 34px; font-weight: 900; color: var(--price-color); line-height: 1.1; }
.price-amount span { font-size: 15px; color: #64748b; }
.price-hero { margin-top: 22px; padding: 22px 24px; }
.price-hero .price-amount { margin: 8px 0 10px; }
.price-other { margin-top: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px 16px; }
.price-other summary { cursor: pointer; font-weight: 800; }
.price-other ul { margin: 10px 0 0; padding-left: 1.2em; }
.price-other li { margin: 6px 0; font-size: 14px; color: #334155; }
.faq details { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 900; }
.final-cta {
  background: var(--final-cta-bg);
  border: 1px solid var(--border);
  border-left: 7px solid var(--final-cta-accent);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.footer { padding: 30px 0 48px; color: #64748b; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.footer-links a { text-decoration: none; border-bottom: 1px solid #cbd5e1; }
.analysis-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 10px;
}
.analysis-portal .card {
  border-left: 6px solid var(--accent);
  text-decoration: none;
  display: block;
}
.analysis-portal .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}
.analysis-note { margin-top: 14px; font-size: 13px; color: #64748b; }
.analysis-hub { margin-top: 22px; }
.analysis-hub h3 { font-size: 16px; }
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--sticky-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 26px rgba(15, 23, 42, 0.10);
}
.sticky-cta__inner {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sticky-cta .btn { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.note-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 14px;
  color: #92400e;
  margin-top: 16px;
}
.theme-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.theme-list li { padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.theme-list li:last-child { border-bottom: 0; }
.theme-list strong { color: var(--brand); }
.theme-list--cols { columns: 2; column-gap: 24px; }
.theme-list--cols li { break-inside: avoid; }
.theme-group { margin-top: 10px; }
.theme-group__label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin: 12px 0 4px;
}
.screen-preview {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.screen-preview--accent { border-left: 6px solid var(--cyan); }
.screen-preview--gold { border-left: 6px solid var(--gold); }
.screen-preview__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.screen-preview__title {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 10px;
}
.screen-preview__body { font-size: 14px; color: var(--muted); margin: 0; }
.screen-preview__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.screen-preview__chip {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--badge-color);
  border: 1px solid var(--border);
}

.trust-block {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.trust-block__operator {
  display: flex;
  gap: 12px;
  align-items: center;
}
.trust-block__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.trust-block__who { font-size: 14px; margin: 0; }
.trust-block__who strong { display: block; font-size: 15px; color: var(--brand); }
.trust-block__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
}
.trust-block__chip {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--border);
  color: var(--badge-color);
}
.trust-block__policy { font-size: 13px; color: var(--muted); margin: 0; }
.trust-block__voice {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--primary);
  background: var(--soft);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: #374151;
}
.counted-by {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.status-table th, .status-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.status-table th { background: var(--soft); color: var(--brand); font-weight: 800; width: 28%; }
.status-table tr:last-child td, .status-table tr:last-child th { border-bottom: 0; }
.status-ok { color: #047857; font-weight: 800; }
.status-wait { color: #b45309; font-weight: 800; }

.notify-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.notify-form label { font-size: 13px; font-weight: 800; color: var(--brand); }
.notify-form input[type="email"] {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
}
.notify-form .btn { border: 0; cursor: pointer; font: inherit; width: fit-content; }
.notify-form .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.notify-form__ok.is-error { color: #b45309; }

.change-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.change-block h2 { margin: 0 0 14px; font-size: 22px; }
.change-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.change-grid article {
  background: var(--soft);
  border-radius: 14px;
  padding: 14px 16px;
}
.change-grid h3 { margin: 0 0 6px; font-size: 14px; color: var(--brand); }
.change-grid p { margin: 0; font-size: 14.5px; color: #334155; line-height: 1.7; }

.lab-own { border-color: var(--primary) !important; background: linear-gradient(180deg, var(--soft), #fff); }

.stat-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 8px;
}
.stat-step {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 14px 12px;
}
.stat-step b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 6px;
}
.stat-step p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text); }
.stat-step .stat-num { font-size: 22px; font-weight: 900; color: var(--primary-dark); line-height: 1.2; }

.gap-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}
.gap-proof article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
}
.gap-proof h3 { margin: 0 0 8px; font-size: 15px; }
.gap-proof p { margin: 0; font-size: 13.5px; color: #475569; line-height: 1.7; }
.problem-therefore {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
}

.sample-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-top: 26px;
}
.sample-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.sample-big {
  margin: 18px 0;
  padding: 18px 20px;
  background: var(--soft);
  border-left: 6px solid var(--primary);
  border-radius: 12px;
}
.sample-big span { display: block; font-size: 12px; font-weight: 800; color: var(--brand); margin-bottom: 6px; }
.sample-big p { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.5; }
.sample-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: sample-q; }
.sample-steps li {
  counter-increment: sample-q;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px 14px 52px;
  position: relative;
}
.sample-steps li::before {
  content: counter(sample-q);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.sample-steps .q { font-weight: 800; margin: 0 0 8px; }
.sample-steps .choices { margin: 0; padding-left: 1.1em; color: #475569; font-size: 14px; }
.sample-steps .ans { margin: 8px 0 0; font-size: 13px; color: var(--green); font-weight: 800; }
.sample-kaku {
  margin-top: 18px;
  padding: 18px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
}
.sample-kaku h3 { margin: 0 0 8px; font-size: 16px; }
.sample-kaku table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 10px 0; }
.sample-kaku th, .sample-kaku td { border: 1px solid #e2e8f0; padding: 6px 8px; text-align: left; }
.sample-rubric { margin: 10px 0 0; padding: 0; }
.sample-rubric li { margin: 4px 0; font-size: 14px; }
.sample-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.lp-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.lp-kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.lp-kpi strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: var(--brand);
}
.lp-kpi span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.lp-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.lp-four__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.lp-four__item span {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
}
.lp-four__item h3 {
  margin: 6px 0 8px;
  font-size: 16px;
}
.lp-four__item p {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
}
.lp-science-note {
  margin-top: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.lp-science-note strong { display: block; margin-bottom: 4px; }
.lp-science-note p { margin: 0; color: #334155; font-size: 14px; }
.lp-diag-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}
.lp-diag-tab {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--brand);
}
.lp-diag-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.lp-diag-frame {
  width: 100%;
  min-height: 220px;
  height: 260px;
  border: 0;
  background: #fff;
}
.diag-fold-slot { margin: 28px 0 20px; }
.diag-fold {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.diag-fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
}
.diag-fold > summary::-webkit-details-marker { display: none; }
.diag-fold > summary::after {
  content: "開く";
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  grid-row: 1 / span 2;
}
.diag-fold[open] > summary::after { content: "閉じる"; }
.diag-fold > summary strong {
  font-size: 16px;
  color: var(--brand);
}
.diag-fold[open] > summary {
  border-bottom: 1px solid var(--border);
}
.diag-fold--hero {
  border: 2px solid var(--primary);
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.95), #fff 58%);
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.12);
}
.diag-fold--hero > summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 22px 22px 20px;
}
.diag-fold--hero > summary::after { display: none; }
.diag-fold--hero > summary strong {
  font-size: 22px;
  line-height: 1.4;
  color: var(--brand);
}
.diag-fold__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
}
.diag-fold__lead {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}
.diag-fold__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.diag-fold__split li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  text-align: center;
}
.diag-fold__split li:last-child {
  border-color: var(--primary);
  background: var(--soft);
}
.diag-fold__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.diag-fold__meta b {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
}
.diag-fold__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  width: fit-content;
}
.diag-fold__cta-close { display: none; }
.diag-fold--hero[open] .diag-fold__cta {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--border);
}
.diag-fold--hero[open] .diag-fold__cta-open { display: none; }
.diag-fold--hero[open] .diag-fold__cta-close { display: inline; }
@media (max-width: 560px) {
  .diag-fold--hero > summary strong { font-size: 19px; }
  .diag-fold__split { grid-template-columns: 1fr; }
  .diag-fold__cta { width: 100%; }
}
.lp-archive-links {
  margin: 16px 0 0;
  font-size: 13px;
}
.lp-archive-links a { text-decoration: underline; }
@media (max-width: 820px) {
  .lp-kpi-row, .lp-four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .lp-kpi-row, .lp-four { grid-template-columns: 1fr; }
}
.diag-bridge {
  margin-top: 22px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.diag-bridge h3 { margin: 0 0 8px; }
.diag-bridge p { margin: 0; color: #334155; line-height: 1.7; }
.diag-bridge__actions { margin-top: 14px; }
.diag-bridge__map-lead { margin: 18px 0 0 !important; }
.diag-bridge__hit {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
  font-weight: 800;
}
.diag-map { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.diag-map th, .diag-map td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.diag-map th { width: 28%; color: var(--brand); }
.diag-map tr.is-weak { background: var(--soft); }
.diag-map tr.is-weak td:first-child { font-weight: 800; }

.need-why {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 0 18px;
}
.need-why h3 { margin: 0 0 8px; font-size: 18px; }
.need-why p { margin: 0; color: #334155; }

.term-box {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 20px 22px;
  margin: 0 0 22px;
}
.term-box__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}
.term-box h2 { margin: 0 0 10px; font-size: 22px; }
.term-box p { margin: 0 0 10px; color: #334155; line-height: 1.7; }
.term-box p:last-child { margin-bottom: 0; }

.coming-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.coming-proof article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.coming-proof h3 { margin: 0 0 6px; font-size: 15px; }
.coming-proof p { margin: 0; font-size: 13.5px; color: #475569; }

.notify-incentive {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .hero-layout, .split, .price-wrap, .image-pair, .grid-2, .stat-chain, .gap-proof, .coming-proof, .change-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 24px; }
  .screen-stack { min-height: auto; padding-bottom: 0; }
  .hero-phone {
    position: relative;
    width: min(280px, 72%);
    right: auto;
    bottom: auto;
    margin: -34px auto 0;
    display: block;
  }
  .phone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navlinks .btn-ghost:nth-child(1),
  .navlinks .btn-ghost:nth-child(2) { display: none; }
  .theme-list--cols { columns: 1; }
}

@media (max-width: 560px) {
  .lp-school { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .container { width: min(100% - 24px, 1120px); }
  .topbar-inner { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .brand-sub { display: inline-flex; margin-left: 0; margin-top: 4px; }
  .section { padding: 38px 0; }
  .card, .problem, .final-cta { padding: 18px; border-radius: 18px; }
  .hero-points { grid-template-columns: 1fr; }
  .phone-grid, .phone-grid--2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sticky-cta__inner { grid-template-columns: 1fr 1fr; }
  .btn { padding: 10px 12px; font-size: 14px; }
}

.hero--article .hero-layout {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.hero--article .hero-story p { font-size: 17px; }
.article-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}
.article-toc a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.school-article { padding: 12px 0 28px; }
.school-article__body { max-width: 720px; }
.school-article__body > h2 {
  margin: 2.1em 0 0.7em;
  font-size: clamp(22px, 3.2vw, 30px);
}
.school-article__body > h3 {
  margin: 1.6em 0 0.55em;
  font-size: clamp(18px, 2.4vw, 22px);
}
.school-article__body > p {
  font-size: 17px;
  line-height: 1.95;
  margin: 0 0 1.1em;
  color: #1e293b;
}
.school-article__body > p.lede { font-size: 18px; color: #334155; }
.article-num {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
}
.article-quote {
  margin: 22px 0;
  padding: 18px 20px;
  background: #fff;
  border-left: 5px solid var(--primary);
  border-radius: 0 14px 14px 0;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.7;
  color: var(--hero-point-color);
}
.article-inset {
  margin: 28px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.article-figure {
  margin: 22px 0 28px;
  padding: 0;
}
.article-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
}
.article-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.article-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
.article-note {
  margin: 28px 0 0;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.75;
  color: #64748b;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 14px;
}
.article-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}
.article-compare div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.article-compare span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.article-compare strong { display: block; margin-bottom: 6px; }
.article-compare p { margin: 0; font-size: 14px; color: #475569; }
@media (max-width: 820px) {
  .article-pair, .article-compare { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .analysis-portal .card:hover { transform: none; }
  .hero-browser, .hero-phone { transform: none; }
}
