:root {
  /* 自社HP（sss.college）と同じ配色。濃紺 × ゴールド × アイボリー。
     2026-08-25 清水さん指示「デザインとトンマナがかけ離れているので寄せる」。
     ★変えたのは色とフォントだけ。レイアウト・装飾・コピー・画像は一切触っていない。 */
  --main: #1b2a52;
  --main-dark: #111c3a;
  --main-light: #33436f;
  --accent: #c9a227;
  --accent-dark: #8d6718;
  --accent-light: #e0c25c;
  --bg: #f7f5f0;
  --bg-soft: #fdfcfa;
  --navy: #111c3a;
  --ink: #1a1a1a;
  --muted: #6b6862;
  --line: #dcd7cc;
  --line-strong: #c6bfb0;
  --white: #ffffff;
  --shadow-sm: 0 12px 32px rgba(13,44,74,.09),0 2px 8px rgba(13,44,74,.04);
  --shadow-md: 0 18px 44px rgba(13,44,74,.12),0 3px 10px rgba(13,44,74,.05);
  --shadow-lg: 0 28px 72px rgba(13,44,74,.18),0 6px 18px rgba(13,44,74,.08);
  /* 2026-08-26 清水さん指示「開発LPとトンマナが違う（フォント）」→ 開発LP sss-ai-komon-lp と同じ
     Noto Sans JP（本文）／Noto Serif JP（見出し・大きな数字）に統一。Zen Kaku Gothic New / Space Grotesk は廃止。 */
  --font-sans: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Noto Serif JP", serif;
  /* 2026-08-26 開発LPのトークン（濃紺の全面FV・金のグラデーション・金の細線） */
  --navy-950: #0a1425;
  --navy-900: #0c1628;
  --gold-light: #f3df98;
  --line-gold: rgba(201, 162, 39, .34);
  --shadow-gold: 0 18px 42px rgba(116, 85, 24, .32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  line-height: 1.78;
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: pretty;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: var(--navy);
  border-bottom: 1px solid var(--line-gold);
}

.topline {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 6px 16px;
  color: rgba(255, 255, 255, .86);
  background: var(--navy-950);
  font-size: 13px;
  line-height: 1.4;
}

.topline a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

/* 開発LP .brand / .brand-mark と同じ（SSS の金の丸 42px・明朝・会社名は 0.78〜0.95rem） */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--accent) 48%, var(--accent-dark));
  box-shadow: 0 12px 32px rgba(215, 181, 93, .22);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.nav-cta {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 2px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--accent) 55%, var(--accent-dark));
  font-weight: 900;
}

.section {
  padding: 88px 0;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

/* 2026-08-26 清水さん「元のトンマナ（開発LP）に比べるとかわいい」→ 開発LPと同じ濃紺の全面FVにした */
.hero {
  padding-top: 64px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 162, 39, .18), transparent 38%),
    radial-gradient(circle at 12% 88%, rgba(255, 255, 255, .06), transparent 30%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 52%, #16264d 100%);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 12px 42px rgba(0, 0, 0, .34);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(400px, .85fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1,
.hero-copy p {
  word-break: auto-phrase;
  overflow-wrap: normal;
}

/* 見出しの文節。inline-block なので文節の途中では絶対に折れない（折れるのは文節と文節の間だけ） */
.ph {
  display: inline-block;
}

.sp-break {
  display: none;
}

/* 開発LP .eyebrow と同じ：小さく・トラッキング・金・細い線 */
.prehead,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.prehead::after,
.eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.section-head .eyebrow::after {
  display: none;
}

.hero .prehead {
  color: var(--gold-light);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

/* 開発LP（.hero h1, h2）と同じ：Noto Serif JP 900・行間1.2 */
h1,
h2 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

/* h1 は <br> で3行に組んであるので balance を当てない（当てると1行目まで2つに割れて4行になる）。
   1行目「ChatGPTに聞かれたとき、」の実測幅は約12.4文字分。コピー欄（1440pxで612px／920pxで432px）に
   どの幅でも収まる係数が 3.6vw・上限46px（実測 2026-08-26） */
h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  text-wrap: initial;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(24px, 3vw, 36px);
  text-wrap: balance;
}

h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.hero-lead {
  margin: 24px 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.7;
}

.stat-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 24px;
}

.stat-card,
.price-card {
  min-height: 112px;
  padding: 18px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.stat-card span,
.price-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.stat-card strong,
.price-card strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.stat-card.featured strong {
  color: var(--accent-dark);
  font-size: clamp(54px, 7vw, 82px);
}

/* 開発LPのガラスのカード（白 8%・金の細線・白文字） */
.hero .stat-card {
  border-color: var(--line-gold);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  color: var(--white);
}

.hero .stat-card span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.hero .stat-card strong {
  color: var(--white);
}

.hero .stat-card.featured strong {
  color: var(--gold-light);
}

.hero .stat-card small {
  color: rgba(255, 255, 255, .8);
}

.stat-card small,
.price-card small {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink);
}

.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 16px 28px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.button.primary {
  color: var(--navy);
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-light), var(--accent) 55%, var(--accent-dark));
  box-shadow: var(--shadow-gold);
  /* 「金地 × 紺文字」。開発LP .button--primary と同じグラデーション */
  font-size: 19px;
}

.button.primary:hover,
.button.primary:focus-visible {
  color: var(--navy);
  background: linear-gradient(135deg, var(--bg-soft), var(--gold-light) 55%, var(--accent));
}

.button.secondary {
  color: var(--main-dark);
  background: var(--white);
  border-color: var(--main);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--white);
  background: var(--main);
}

.phone-link {
  color: var(--main-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.phone-link strong {
  font-size: 18px;
}

.cta-note,
.fineprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero .cta-note {
  color: rgba(255, 255, 255, .78);
}

.hero .phone-link {
  color: var(--white);
}

/* 2026-08-26 清水さん「トップの見出しもサンプルのスクリーンショットで。特に凝った三つのやつをね」
   → 建設（奥）・飲食（中）・整体（手前）のPC画面を斜めに重ねる。額縁と黄色バッジは廃止 */
.hero-visual {
  position: relative;
}

.hero-stage {
  position: relative;
  aspect-ratio: 1 / .9;
}

.stage-shot {
  position: absolute;
  width: 78%;
  height: auto;
  border: 1px solid rgba(201, 162, 39, .55);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.stage-shot--back { top: 0; left: 0; }
.stage-shot--mid { top: 20%; left: 11%; }
.stage-shot--front { top: 40%; left: 22%; }

.stage-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 20px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
}

.stage-caption span {
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
  letter-spacing: .04em;
}

.line-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.line-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 700;
}

.line-list.compact li {
  padding: 13px 0;
}

.closing,
.turn {
  margin: 28px 0 0;
  color: var(--main-dark);
  font-size: 20px;
  font-weight: 900;
}

.dark {
  color: var(--white);
  background: var(--navy);
}

.dark h2,
.dark .turn {
  color: var(--white);
}

.dark .prose p {
  color: var(--white);
}

.prose p {
  margin: 0 0 24px;
  color: var(--ink);
  font-weight: 600;
}

.split,
.content-grid,
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.number-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.number-list li {
  position: relative;
  padding: 4px 0 4px 64px;
  font-weight: 700;
  counter-increment: reason;
}

.number-list li + li {
  margin-top: 18px;
}

.number-list li::before {
  content: counter(reason);
  font-family: var(--font-serif);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  color: var(--white);
  background: var(--main);
  font-weight: 900;
}

.side-note,
.benefits,
.ps {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.section-head {
  max-width: 800px;
  margin-bottom: 40px;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.image-stack {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 18px;
  align-items: center;
}

.image-stack img,
.proof-images img {
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.image-stack img:first-child {
  align-self: center;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 28px;
}

.flow div {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.flow span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sample-card {
  display: grid;
  gap: 12px;
  padding: 12px 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sample-card:hover,
.sample-card:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.sample-card img {
  aspect-ratio: 16 / 11;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.sample-card span {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.sample-card small {
  color: var(--accent-dark);
  font-weight: 900;
}

.center-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.proof-images {
  display: grid;
  grid-template-columns: .65fr 1fr;
  gap: 16px;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 20px 56px 20px 20px;
  color: var(--navy);
  font-weight: 900;
  list-style: none;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 18px 2px, 2px 18px;
  background-position: center, center;
  background-repeat: no-repeat;
}

details[open] summary::after {
  background-size: 18px 2px, 0 0;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ink);
  font-weight: 500;
}

.price-section {
  background: var(--white);
}

.price-card {
  text-align: center;
}

.legal-note {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--bg-soft);
  font-size: 14px;
}

.benefits {
  width: min(860px, 100%);
  /* 本文 .narrow と左端を揃える（中央寄せだと縦のラインが2本になる） */
  margin: 28px 0 0;
}

.final-cta {
  padding-bottom: 132px;
  text-align: center;
  background: var(--main-dark);
  color: var(--white);
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

.final-cta .button {
  margin: 20px 0 32px;
}

.ps {
  text-align: left;
}

.ps p {
  color: var(--ink);
}

.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-weight: 900;
}

.sticky-cta .button {
  min-height: 52px;
  padding: 12px 22px;
  /* 本文のCTAと同じ19px。17pxだと「大きな文字」に届かずコントラスト基準を割る */
  font-size: 19px;
}

.reveal {
  animation: sectionFade .55s ease both;
}

@keyframes sectionFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-grid,
  .split,
  .content-grid,
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-visual {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .stat-grid,
  .price-grid,
  .flow,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .proof-images {
    grid-template-columns: 1fr;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topline {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .topline a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 40px;
  }

  .stage-shot {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  }

  .nav-cta {
    display: none;
  }

  .brand {
    width: 100%;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(260px, 100%);
    margin: 0 auto;
    font-size: 13px;
  }

  .nav-links a:last-child {
    display: none;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }

  h1 {
    font-size: 30px;
  }

  .sp-break {
    display: block;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .phone-link {
    width: 100%;
  }

  .sticky-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }

  .sticky-cta .button {
    width: 100%;
  }
}

/* 375px（iPhone標準幅）でも「ChatGPTに聞かれたとき、」が1行に収まる幅連動サイズ */
@media (max-width: 400px) {
  h1 {
    font-size: clamp(24px, 7vw, 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
