/* 日本語フォント調整と選択色のカスタマイズ */
:root {
  --gs-font-family: 'Noto Sans JP', system-ui, sans-serif;
}

body {
  font-family: var(--gs-font-family);
}
::selection {
  background-color: #e6f2ec;
  color: #16634a;
}

/* JSの表示切替は Tailwind の .hidden / .block 等を利用する（!important で上書きしない） */

/* スクロール時の控えめなフェードアップ演出（docs/scroll-fade-up-animation.md） */
.reveal {
  --reveal-delay: 0ms;

  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 580ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 580ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.reveal-delay-1 {
  --reveal-delay: 80ms;
}

.reveal-delay-2 {
  --reveal-delay: 160ms;
}

.reveal-delay-3 {
  --reveal-delay: 200ms;
}

.animate-bounce-slow {
  animation: bounce 3s infinite;
}

.gs-hero-title {
  --gs-hero-title-line-height: 1.16;
  --gs-hero-title-group-gap: 0.7rem;
  letter-spacing: -0.045em;
}

.gs-hero-eyebrow {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 0.125rem;
  background: rgb(230 242 236 / 0.95);
  box-shadow: inset 0 0 0 1px rgb(22 99 74 / 0.04);
  color: #16634a;
  font-size: clamp(0.7rem, 3.4vw, 1.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.45;
  text-wrap: balance;
}

.gs-hero-title__lead,
.gs-hero-title__main {
  line-height: var(--gs-hero-title-line-height);
  text-wrap: balance;
}

.gs-hero-title__lead + .gs-hero-title__main {
  margin-top: var(--gs-hero-title-group-gap);
}

.gs-hero-copy {
  letter-spacing: -0.01em;
}

.gs-hero-visual {
  isolation: isolate;
  min-height: 32rem;
  padding: 1rem 0 6.5rem;
}

.gs-hero-visual__glow {
  position: absolute;
  inset: 7% -8% 8% 8%;
  z-index: -1;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 78% 18%, rgb(16 185 129 / 0.2), transparent 28%),
    radial-gradient(circle at 22% 86%, rgb(14 165 233 / 0.14), transparent 30%),
    linear-gradient(135deg, rgb(230 242 236 / 0.9), rgb(255 255 255 / 0.3));
  filter: blur(2px);
}

.gs-hero-preview {
  --gs-hero-preview-scale: 1;

  position: relative;
  z-index: 1;
  transform-origin: center;
  transform: scale(var(--gs-hero-preview-scale));
  box-shadow:
    0 34px 80px rgb(22 99 74 / 0.18),
    0 10px 24px rgb(15 23 42 / 0.08);
}

.gs-hero-preview.is-animated {
  animation: gs-hero-preview-lift 560ms ease-out both;
}

.gs-hero-floating-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgb(226 232 240 / 0.9);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.94);
  box-shadow:
    0 22px 46px rgb(15 23 42 / 0.13),
    0 1px 0 rgb(255 255 255 / 0.9) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #334155;
}

.gs-hero-floating-card--share {
  top: 2rem;
  right: -3.25rem;
  width: 12.25rem;
  padding: 1rem;
  transform: rotate(2deg);
}

.gs-hero-floating-card--citations {
  top: 13rem;
  right: -3.75rem;
  width: 13.5rem;
  padding: 0.95rem;
  transform: rotate(-1.5deg);
}

.gs-hero-floating-card--models {
  right: -2.25rem;
  bottom: 0.75rem;
  width: 16.25rem;
  padding: 0.95rem;
  animation: none;
}

.gs-hero-floating-card--signal {
  left: -1.9rem;
  bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 13.25rem;
  padding: 0.75rem;
  transform: rotate(-1.5deg);
}

.gs-hero-floating-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.3;
  color: #475569;
}

.gs-hero-floating-card__header span:last-child {
  color: #94a3b8;
  font-weight: 700;
}

.gs-hero-share-card__body {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  align-items: center;
  gap: 0.75rem;
}

.gs-hero-share-donut {
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 9999px;
  background: conic-gradient(
    #13966d 0deg 152deg,
    #2563eb 152deg 255deg,
    #f97316 255deg 314deg,
    #cbd5e1 314deg 360deg
  );
  box-shadow: 0 10px 20px rgb(20 184 166 / 0.2);
}

.gs-hero-share-donut::after {
  position: absolute;
  inset: 0.8rem;
  content: "";
  border-radius: inherit;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(226 232 240 / 0.8);
}

.gs-hero-share-legend,
.gs-hero-model-list,
.gs-hero-citation-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gs-hero-share-legend__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.55rem;
  color: #64748b;
}

.gs-hero-share-legend__row strong,
.gs-hero-citation-row strong {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: #334155;
}

.gs-hero-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
}

.gs-hero-dot--brand {
  background: #13966d;
}

.gs-hero-dot--competitor-a {
  background: #2563eb;
}

.gs-hero-dot--competitor-b {
  background: #f97316;
}

.gs-hero-dot--other {
  background: #cbd5e1;
}

.gs-hero-citation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.5rem;
  font-size: 0.58rem;
  color: #64748b;
}

.gs-hero-citation-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-hero-citation-row i {
  grid-column: 1 / -1;
  height: 0.28rem;
  overflow: hidden;
  border-radius: 9999px;
  background: #e2e8f0;
}

.gs-hero-citation-row i::before {
  display: block;
  width: var(--bar-width);
  height: 100%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, #16634a, #2dd4bf);
}

.gs-hero-model-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: #334155;
}

.gs-hero-model-row svg {
  color: #059669;
}

.gs-hero-model-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.35rem;
  font-size: 0.58rem;
  font-weight: 900;
  color: #fff;
}

.gs-hero-model-icon--chatgpt {
  background: #0d9488;
}

.gs-hero-model-icon--aio {
  background: #ea580c;
}

.gs-hero-model-icon--aimode {
  background: #1a73e8;
}

.gs-hero-model-icon--gemini {
  background: #4285f4;
}

.gs-hero-model-icon--perplexity {
  background: #7c3aed;
}

.gs-hero-model-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.35rem;
  border: 1px solid #d0eddf;
  border-radius: 9999px;
  background: #e6f2ec;
  color: #16634a;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.gs-hero-model-badge--blue {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.gs-hero-signal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: #e6f2ec;
}

.gs-hero-signal-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.gs-hero-floating-card--signal p {
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.2;
  color: #94a3b8;
}

.gs-hero-floating-card--signal strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #1f2937;
}

.gs-hero-kpi-value {
  display: inline-block;
  min-width: 4.4ch;
  font-variant-numeric: tabular-nums;
}

.gs-hero-kpi-value.is-counting {
  text-shadow: 0 0 16px rgb(22 99 74 / 0.18);
}

.gs-hero-chart-shell {
  overflow: hidden;
}

/* canvasの内在幅がグリッド列の最小幅を広げないよう、レイアウト計算から外す */
.gs-hero-chart-shell canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.gs-hero-chart-shell::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(255 255 255 / 0.6) 48%,
    transparent 100%
  );
}

.gs-hero-preview[data-animation-state="playing"] .gs-hero-chart-shell::after {
  animation: gs-hero-chart-scan 900ms ease-out 120ms both;
}

@keyframes gs-hero-preview-lift {
  from {
    opacity: 0.92;
    transform: translateY(10px) scale(calc(var(--gs-hero-preview-scale) * 0.985));
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(var(--gs-hero-preview-scale));
  }
}

@keyframes gs-hero-chart-scan {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }

  18% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@media (min-width: 1024px) {
  .gs-hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 3.75rem;
  }

  .gs-hero-title__lead {
    font-size: clamp(2.35rem, 3.25vw, 2.6rem);
  }

  .gs-hero-title__main {
    font-size: clamp(3.1rem, 4.25vw, 3.35rem);
  }

  .gs-hero-title__main--wide {
    white-space: nowrap;
  }

  .gs-hero-eyebrow {
    padding: 0.72rem 1.25rem;
    font-size: 1.15rem;
  }

  .gs-hero-copy {
    font-size: 1rem;
    line-height: 1.85;
  }

  .gs-hero-preview {
    --gs-hero-preview-scale: 1.03;
  }
}

@media (max-width: 1180px) {
  .gs-hero-floating-card--share,
  .gs-hero-floating-card--citations,
  .gs-hero-floating-card--models {
    right: -1rem;
  }
}

@media (max-width: 1023px) {
  .gs-hero-visual {
    min-height: auto;
    padding: 0 0 1rem;
  }

  .gs-hero-visual__glow {
    inset: 2rem 0 0;
  }

  .gs-hero-floating-card {
    position: relative;
    inset: auto;
    width: auto;
    margin-top: 0.75rem;
    transform: none;
  }

  .gs-hero-floating-card--share,
  .gs-hero-floating-card--citations,
  .gs-hero-floating-card--models,
  .gs-hero-floating-card--signal {
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
  }

  .gs-hero-floating-card--share {
    margin-top: -1.5rem;
    margin-left: auto;
    width: auto;
    max-width: 22rem;
  }

  .gs-hero-floating-card--signal {
    width: auto;
    max-width: 20rem;
  }
}

/* 375px未満: ヘッダーのロゴとCTAが取り合わないよう縮小 */
@media (max-width: 374px) {
  header .pre-register-cta {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  header a[aria-label="GEO Signals"] img {
    height: 1.65rem;
  }
}

/* モバイル: 見出しを1行に収め、PC向け固定改行(br)を無効化する */
@media (max-width: 639px) {
  .gs-hero-title__lead {
    font-size: min(1.75rem, 7vw);
  }

  .gs-hero-title__main {
    font-size: min(2.25rem, 8.4vw);
  }

  .gs-hero-copy br,
  section h2 br {
    display: none;
  }
}

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

  .gs-hero-preview.is-animated,
  .gs-hero-preview[data-animation-state="playing"] .gs-hero-chart-shell::after {
    animation: none;
  }

  .gs-hero-kpi-value.is-counting {
    text-shadow: none;
  }
}

.w-5\.5 {
  width: 1.375rem;
}

.h-5\.5 {
  height: 1.375rem;
}

/* 「従来のSEOとの位置づけ」パネル（docs/seo-positioning-panel.md） */
.gs-seo-positioning-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.08);
  background: linear-gradient(to bottom right, #f8fafc, #f1f5f9, #eef6ff);
  color: #334155;
}

.gs-seo-positioning-panel__glow {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 9999px;
  background: rgb(147 197 253 / 0.25);
  filter: blur(40px);
  pointer-events: none;
}

.gs-seo-positioning-panel__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e3a5f;
}

.gs-seo-positioning-panel__title svg {
  color: #1e3a5f;
}

.gs-seo-positioning-panel__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
}

.gs-seo-positioning-panel__step {
  padding: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}

.gs-seo-positioning-panel__step-title {
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.25rem;
}

.gs-seo-positioning-panel__step-body {
  color: #52525b;
  line-height: 1.625;
}

.gs-seo-positioning-panel__closing {
  position: relative;
  text-align: center;
}

.gs-seo-positioning-panel__closing-text {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.625;
  color: #1e3a5f;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
}

/* #why-measure 比較カード（docs/why-measure-cards.md） */
.gs-why-measure-negative {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.78);
  border: 1px solid rgb(251 146 60 / 0.22);
  box-shadow: 0 16px 40px rgb(124 45 18 / 0.05);
}

.gs-why-measure-negative__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: #fff7ed;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f97316;
}

.gs-why-measure-negative__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.375;
  min-height: 4.5rem;
}

.gs-why-measure-negative__body {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.625;
}

.gs-why-measure-negative__list {
  padding-top: 1rem;
  border-top: 1px solid rgb(15 23 42 / 0.08);
  font-size: 0.875rem;
  color: #334155;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gs-why-measure-negative__mark {
  color: #ef4444;
  font-weight: 700;
  margin-right: 0.25rem;
}

.gs-why-measure-positive {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 92% 8%, rgb(45 212 191 / 0.1), transparent 30%),
    rgb(255 255 255 / 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgb(16 185 129 / 0.24);
  box-shadow: 0 18px 44px rgb(15 118 110 / 0.06);
}

.gs-why-measure-positive__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: #ecfdf5;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
}

.gs-why-measure-positive__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #065f46;
  line-height: 1.375;
  min-height: 4.5rem;
}

.gs-why-measure-positive__body {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.625;
}

.gs-why-measure-positive__list {
  position: relative;
  padding-top: 1rem;
  border-top: 1px solid rgb(15 23 42 / 0.08);
  font-size: 0.875rem;
  color: #334155;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gs-why-measure-positive__mark {
  color: #10b981;
  font-weight: 700;
  margin-right: 0.25rem;
}

/* #pricing プラン比較表（docs/pricing-plan-comparison.md） */
.gs-plan-comparison {
  max-width: 64rem;
  margin: -1rem auto 2.5rem;
  padding: 1.25rem;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 16px 40px rgb(15 23 42 / 0.06);
}

.gs-plan-comparison__header {
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .gs-plan-comparison {
    padding: 1.75rem;
  }
}

.gs-plan-comparison__title {
  color: #0f172a;
  font-size: clamp(1.35rem, 2.6vw, 1.875rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.gs-plan-comparison__lead {
  margin-top: 0.5rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.7;
}

.gs-plan-comparison__scroll-hint {
  display: block;
  margin: 0 0 0.5rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .gs-plan-comparison__scroll-hint {
    display: none;
  }
}

.gs-plan-comparison__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e4e4e7;
  border-radius: 1rem;
  background: #fff;
}

.gs-plan-comparison__table {
  width: 100%;
  min-width: 45rem;
  border-collapse: separate;
  border-spacing: 0;
  color: #334155;
  font-size: 0.875rem;
}

.gs-plan-comparison__table caption {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e4e4e7;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: left;
}

.gs-plan-comparison__table th,
.gs-plan-comparison__table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: middle;
}

.gs-plan-comparison__table thead th {
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 900;
}

.gs-plan-comparison__table tbody th {
  width: 32%;
  color: #475569;
  font-weight: 800;
}

.gs-plan-comparison__table tbody tr:last-child th,
.gs-plan-comparison__table tbody tr:last-child td {
  border-bottom: 0;
}

.gs-plan-comparison__cell--pro {
  background: rgb(16 185 129 / 0.1);
  color: #065f46;
  font-weight: 900;
}

.gs-plan-comparison__recommended {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  padding: 0.2rem 0.45rem;
  border-radius: 9999px;
  background: #16634a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

.gs-plan-comparison__note {
  margin-top: 0.85rem;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.gs-pricing-config-intro {
  max-width: 64rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.gs-pricing-config-intro__title {
  color: #0f172a;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.gs-pricing-config-intro__lead {
  margin-top: 0.5rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* #pricing 見積もりパネル（docs/pricing-summary-panel.md） */
.gs-pricing-summary {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #0f2f2a;
  color: #fff;
  box-shadow: 0 20px 25px -5px rgb(15 47 42 / 0.25);
}

@media (min-width: 1024px) {
  .gs-pricing-summary {
    padding: 2rem;
  }
}

.gs-pricing-summary__glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 9rem;
  height: 9rem;
  border-radius: 9999px;
  background: rgb(16 185 129 / 0.15);
  filter: blur(48px);
  pointer-events: none;
}

.gs-pricing-summary__heading {
  position: relative;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
}

.gs-pricing-summary__price-block {
  position: relative;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}

.gs-pricing-summary__price-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b7d7cd;
  margin-bottom: 0.25rem;
}

.gs-pricing-summary__price {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

@media (min-width: 1024px) {
  .gs-pricing-summary__price {
    font-size: 3rem;
  }
}

.gs-pricing-summary__price-unit {
  font-size: 0.875rem;
  color: #b7d7cd;
}

.gs-pricing-summary__row-label {
  color: #b7d7cd;
}

.gs-pricing-summary__row-value {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.gs-pricing-summary__divider {
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.gs-pricing-summary__spec-row {
  display: flex;
  justify-content: space-between;
  color: #b7d7cd;
}

.gs-pricing-summary__spec-value {
  font-weight: 700;
  color: #fff;
}

.gs-pricing-summary__spec-value--accent {
  color: #10b981;
}

/* 事前登録CTA共通（ヘッダー・ヒーロー・料金・#contact） */
.pre-register-cta,
.gs-pricing-summary__cta,
.final-cta-button {
  color: #fff;
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  box-shadow: 0 14px 32px rgb(20 184 166 / 0.28);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.pre-register-cta:hover,
.gs-pricing-summary__cta:hover,
.final-cta-button:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 55%, #14b8a6 100%);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgb(20 184 166 / 0.34);
}

.gs-pricing-summary__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: 0.75rem;
}

.gs-pricing-summary__footnote {
  font-size: 10px;
  color: #b7d7cd;
  line-height: 1.625;
  text-align: center;
}

/* SEOディレクターコメント関連リンク（docs/seo-director-comment-section.md） */
.director-links {
  padding-top: 1rem;
  border-top: 1px solid #f4f4f5;
}

.director-links__label {
  margin-bottom: 0.75rem;
  color: #71717a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.director-links__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.director-links__items a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #d0eddf;
  border-radius: 9999px;
  background: #f7fbf8;
  color: #16634a;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.director-links__items a:hover {
  border-color: #16634a;
  background: #e6f2ec;
  color: #145a46;
  transform: translateY(-1px);
}

.director-links__items a:focus-visible {
  outline: 2px solid #16634a;
  outline-offset: 3px;
}

/* #contact 最終CTA（docs/final-cta-button.md） */
.final-cta-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
}

.final-cta-button:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  transform: none;
}

/* #contact 事前登録フォーム */
.gs-waitlist-card {
  border: 1px solid rgb(255 255 255 / 0.72);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.98) 0%, #f7fbf8 100%);
}

.gs-waitlist-form {
  margin-top: 0.25rem;
}

.gs-waitlist-benefit {
  color: #3f3f46;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.8;
}

.gs-waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.gs-waitlist-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #27272a;
}

.gs-waitlist-required {
  color: #dc2626;
}

.gs-waitlist-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #d4d4d8;
  border-radius: 0.5rem;
  background: #fff;
  color: #18181b;
  font-size: 0.875rem;
  line-height: 1.5;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.gs-waitlist-input:focus {
  outline: none;
  border-color: #16634a;
  box-shadow: 0 0 0 3px rgb(22 99 74 / 0.12);
}

.gs-waitlist-input--error {
  border-color: #ef4444;
  background: #fef2f2;
}

.gs-waitlist-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.gs-waitlist-textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.gs-waitlist-error {
  font-size: 0.75rem;
  font-weight: 600;
  color: #dc2626;
}

.gs-waitlist-error[hidden] {
  display: none;
}

.gs-waitlist-alert {
  padding: 0.75rem 0.875rem;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.gs-waitlist-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

.gs-waitlist-privacy-note {
  padding: 0.875rem;
  border: 1px solid #d9eee5;
  border-radius: 0.75rem;
  background: #f2faf6;
  color: #3f3f46;
  font-size: 0.75rem;
  line-height: 1.75;
}

.gs-waitlist-privacy-note p + p {
  margin-top: 0.5rem;
}

.gs-waitlist-submit-area {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.gs-waitlist-submit-consent {
  margin: 0;
  color: #52525b;
  font-size: 0.75rem;
  line-height: 1.65;
  text-align: center;
}

.gs-privacy-policy-trigger {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #16634a;
  font: inherit;
  font-weight: 800;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.gs-privacy-policy-trigger:hover {
  color: #0f513c;
}

.gs-privacy-policy-trigger:focus-visible,
.gs-privacy-modal__close:focus-visible,
.gs-privacy-modal__content:focus-visible {
  outline: 2px solid #16634a;
  outline-offset: 3px;
}

/* プライバシーポリシーモーダル（docs/geo-signals-privacy-policy-section.md） */
.gs-modal-open {
  overflow: hidden;
}

.gs-privacy-modal[hidden] {
  display: none;
}

.gs-privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gs-privacy-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgb(15 23 42 / 0.58);
  backdrop-filter: blur(6px);
}

.gs-privacy-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 54rem);
  max-height: min(86vh, 48rem);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d9eee5;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 72px rgb(15 23 42 / 0.24);
}

.gs-privacy-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #e4e4e7;
  background:
    radial-gradient(circle at top right, rgb(22 99 74 / 0.08), transparent 18rem),
    #fafafa;
}

.gs-privacy-policy__eyebrow {
  margin-bottom: 0.75rem;
  color: #16634a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gs-privacy-policy__title {
  color: #18181b;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.gs-privacy-policy__lead {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: #71717a;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.gs-privacy-policy__content {
  font-size: 0.875rem;
  line-height: 1.9;
}

.gs-privacy-modal__content {
  min-height: 0;
  overflow-y: auto;
  padding: 1.75rem;
  color: #3f3f46;
}

.gs-privacy-policy__content h3 {
  margin: 2rem 0 0.75rem;
  color: #18181b;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.gs-privacy-policy__content h3:first-of-type {
  margin-top: 1.5rem;
}

.gs-privacy-policy__content p + p,
.gs-privacy-policy__content li + li {
  margin-top: 0.75rem;
}

.gs-privacy-policy__content ol,
.gs-privacy-policy__content ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.gs-privacy-policy__content ol {
  list-style: decimal;
}

.gs-privacy-policy__content ul {
  list-style: disc;
}

.gs-privacy-policy__content strong {
  color: #27272a;
  font-weight: 800;
}

.gs-privacy-modal__close {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d4d4d8;
  border-radius: 9999px;
  background: #fff;
  color: #3f3f46;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.gs-privacy-modal__close:hover {
  border-color: #16634a;
  color: #16634a;
}

@media (max-width: 640px) {
  .gs-privacy-modal {
    align-items: stretch;
    padding: 0.75rem;
  }

  .gs-privacy-modal__dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 1rem;
  }

  .gs-privacy-modal__header {
    padding: 1.125rem;
  }

  .gs-privacy-policy__title {
    font-size: 1.35rem;
  }

  .gs-privacy-modal__content {
    padding: 1.125rem;
    font-size: 0.8125rem;
  }
}

/* #market-shift 検索行動の変化 5ステップストーリー */
.gs-story-steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.gs-story-step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}

.gs-story-step:last-child {
  padding-bottom: 0;
}

.gs-story-step::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 3rem;
  bottom: 0.25rem;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgb(22 99 74 / 0.28), rgb(22 99 74 / 0.08));
}

.gs-story-step:last-child::before {
  display: none;
}

.gs-story-step__marker {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgb(22 99 74 / 0.28);
  color: #16634a;
  font-weight: 800;
  font-size: 0.8125rem;
  font-family: var(--gs-font-family);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-story-step__content {
  padding-top: 0.375rem;
  min-width: 0;
}

.gs-story-step__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #16634a;
  margin-bottom: 0.375rem;
}

.gs-story-step__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #18181b;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.gs-story-step__body {
  font-size: 0.875rem;
  color: #52525b;
  line-height: 1.8;
}

.gs-story-step--brand .gs-story-step__marker {
  background: #16634a;
  border-color: #16634a;
  color: #fff;
}

.gs-story-step--brand .gs-story-step__content {
  background:
    radial-gradient(circle at 92% 0%, rgb(49 155 117 / 0.08), transparent 40%),
    #f4faf7;
  border: 1px solid rgb(22 99 74 / 0.18);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 14px 36px rgb(22 99 74 / 0.07);
}

@media (min-width: 640px) {
  .gs-story-step__title {
    font-size: 1.25rem;
  }
}

/* #features 引き算の設計思想 */
.gs-philosophy {
  margin-top: 4.5rem;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 88% 0%, rgb(22 99 74 / 0.06), transparent 36%),
    #fafaf9;
  padding: 2.5rem 1.5rem;
}

.gs-philosophy__head {
  max-width: 44rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.gs-philosophy__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #16634a;
  margin-bottom: 0.875rem;
}

.gs-philosophy__title {
  font-size: 1.625rem;
  font-weight: 800;
  color: #18181b;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.gs-philosophy__lead {
  font-size: 0.9375rem;
  color: #52525b;
  line-height: 1.9;
}

.gs-philosophy__grid {
  display: grid;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

.gs-philosophy-card {
  background: #fff;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.gs-philosophy-card__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: #fef2f2;
  color: #dc2626;
  font-weight: 800;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-philosophy-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #18181b;
  line-height: 1.5;
}

.gs-philosophy-card__body {
  font-size: 0.8125rem;
  color: #52525b;
  line-height: 1.75;
}

.gs-philosophy__closing {
  max-width: 64rem;
  margin: 1.75rem auto 0;
  background: #16634a;
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.gs-philosophy__closing-text {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.6;
}

.gs-philosophy__closing-note {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.78);
  margin-top: 0.25rem;
}

.gs-philosophy__closing-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #16634a;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0.625rem;
  padding: 0.75rem 1.25rem;
  transition: background-color 0.15s ease;
}

.gs-philosophy__closing-cta:hover {
  background: #e6f2ec;
}

@media (min-width: 768px) {
  .gs-philosophy {
    padding: 3rem 2.5rem;
  }

  .gs-philosophy__title {
    font-size: 2rem;
  }

  .gs-philosophy__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gs-philosophy__closing {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 1.5rem 2rem;
  }
}
