/* ============================================================
   AI Light Lab オープンチャット誘導サイト 共通CSS
   デザイントークンは community-lp/app/globals.css から移植
   ============================================================ */

:root {
  --ink: #354055;
  --ink-soft: #536174;
  --muted: #788698;
  --paper: #fff7f0;
  --surface: #fffdf9;
  --surface-2: #eefbf7;
  --white: #ffffff;
  --teal: #7bcfbd;
  --teal-deep: #3b9489;
  --acid: #ffe179;
  --amber: #ffc56f;
  --rose: #f4a1aa;
  --violet: #b4a7ff;
  --line: rgba(91, 76, 67, 0.13);
  --line-strong: rgba(91, 76, 67, 0.23);
  --shadow: 0 24px 70px rgba(99, 79, 63, 0.13);
  --shadow-soft: 0 12px 34px rgba(99, 79, 63, 0.08);
  --radius: 8px;
  --container: 1160px;
  --font-display-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --font-body-family: "Noto Sans JP", system-ui, sans-serif;
  /* イージングはこの1種類だけを使う */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.9), rgba(255, 247, 240, 0.9)),
    repeating-linear-gradient(90deg, rgba(122, 103, 84, 0.035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(180deg, rgba(122, 103, 84, 0.026) 0 1px, transparent 1px 72px),
    var(--paper);
  font-family: var(--font-body-family);
  line-height: 1.82;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 169, 157, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal-deep);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(91, 76, 67, 0.08);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(var(--container), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display-family);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  font-size: 18px;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid rgba(91, 76, 67, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: var(--acid);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.site-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(99, 79, 63, 0.14);
}

/* ---------- 共通レイアウト ---------- */

.section {
  position: relative;
  padding: 92px 0;
}

.section__inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 860px;
}

/* prompts50.html側が使う最大幅コンテナ（.section__innerと同仕様のエイリアス） */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* 反転帯セクション（ティール系背景に白文字）。2ページ共通の命名規約 */
.section--inverted {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(59, 148, 137, 0.96), rgba(123, 207, 189, 0.92)),
    var(--teal-deep);
}

.section--inverted h1,
.section--inverted h2,
.section--inverted h3,
.section--inverted p,
.section--inverted .section-en,
.section--inverted .heading-lines .line--accent {
  color: var(--white);
}

.section--inverted .section-kicker,
.section--inverted .eyebrow {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.section--inverted .card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.section--inverted .card p {
  color: var(--muted);
}

/* カード共通クラス（角丸8px・shadowつき）。2ページ共通の命名規約 */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.88);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 148, 137, 0.32);
  box-shadow: var(--shadow);
}

/* 小さめのタグ/バッジ共通クラス */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.82);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* 料金ラベル（無料でOK／一部有料／有料向き） */
.badge-free,
.badge-partial,
.badge-paid {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.badge-free {
  background: rgba(123, 207, 189, 0.32);
}

.badge-partial {
  background: rgba(255, 197, 111, 0.36);
}

.badge-paid {
  background: rgba(180, 167, 255, 0.32);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading--split {
  max-width: none;
  display: grid;
  gap: 26px;
  text-align: left;
  margin: 0 0 38px;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 14px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 253, 246, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.section-en {
  display: block;
  margin: 0 0 9px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display-family);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.24;
}

h2 {
  margin-bottom: 18px;
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.34;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.45;
}

p {
  color: var(--ink-soft);
}

.heading-lines .line {
  display: block;
}

.heading-lines .line--accent {
  color: var(--teal-deep);
}

.section-lead {
  max-width: 640px;
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 16px;
}

.section-lead--left {
  margin-left: 0;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 58px 0 52px;
  overflow: hidden;
  background: #fff6ed;
}

.hero__inner {
  position: relative;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.hero__copy {
  max-width: 720px;
}

.hero__name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.hero__name {
  width: fit-content;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(91, 76, 67, 0.16);
  border-left: 5px solid var(--rose);
  color: var(--ink);
  background: rgba(255, 253, 249, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.hero__sparkle {
  font-size: 26px;
  line-height: 1;
}

.hero__lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.95;
}

.hero__actions {
  display: grid;
  gap: 12px;
  align-items: center;
}

.hero__microcopy {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-console {
  width: min(420px, 100%);
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(91, 76, 67, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-console__label {
  margin: 0 0 12px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
}

.hero-console__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-console__list li {
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- ボタン ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 13px 24px;
  border: 1px solid rgba(91, 76, 67, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 18px 34px rgba(99, 79, 63, 0.12);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.58) 46%, transparent 56% 100%);
  transform: translateX(-130%);
}

.btn:hover {
  background: #ffea94;
  box-shadow: 0 22px 44px rgba(99, 79, 63, 0.16);
  transform: translateY(-1px);
}

.btn:hover::after {
  animation: buttonSheen 780ms var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(59, 148, 137, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: var(--teal-deep);
  font-size: 15px;
  line-height: 1;
}

@keyframes buttonSheen {
  to {
    transform: translateX(130%);
  }
}

.btn-wrap {
  width: 100%;
}

/* CTA強調用の追加クラス（.btnと併用。Final CTA等でより目立たせたい時に使う） */
.btn-cta {
  box-shadow: 0 22px 46px rgba(99, 79, 63, 0.2);
}

.btn-cta .btn__arrow,
.btn-cta.btn .btn__arrow {
  background: var(--ink);
}

.btn-cta:hover {
  box-shadow: 0 26px 54px rgba(99, 79, 63, 0.24);
}

@media (min-width: 680px) {
  .btn-wrap {
    width: fit-content;
  }

  .btn {
    width: auto;
    min-width: 320px;
  }
}

.btn.is-pending {
  background: rgba(255, 253, 246, 0.9);
  color: var(--ink-soft);
}

.btn.is-pending:hover {
  background: rgba(255, 253, 246, 0.9);
  box-shadow: 0 18px 34px rgba(99, 79, 63, 0.12);
  transform: none;
}

.cta-pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin-left: 4px;
  border-radius: 999px;
  background: rgba(91, 76, 67, 0.14);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 246, 0.8);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.text-link:hover {
  border-color: rgba(0, 169, 157, 0.5);
  background: var(--surface);
  transform: translateY(-1px);
}

/* ---------- 共感セクション ---------- */

.empathy-section {
  padding: 92px 0;
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(2px);
}

.friction-grid {
  display: grid;
  gap: 14px;
}

.friction-card {
  position: relative;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.88);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.friction-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 148, 137, 0.32);
  box-shadow: 0 22px 54px rgba(99, 79, 63, 0.12);
}

.friction-card:nth-child(2) {
  border-top-color: var(--amber);
}

.friction-card:nth-child(3) {
  border-top-color: var(--rose);
}

.friction-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: var(--ink);
  background: rgba(255, 225, 121, 0.52);
  font-size: 12px;
  font-weight: 700;
}

.friction-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- オプチャで届くもの（split・非center） ---------- */

.deliver-section {
  padding: 76px 0;
  background: rgba(255, 247, 240, 0.7);
  backdrop-filter: blur(2px);
}

.deliver-section__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.deliver-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliver-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.88);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}

.deliver-item:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 148, 137, 0.32);
}

.deliver-item__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(91, 76, 67, 0.14);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: 20px;
}

.deliver-item h3 {
  margin: 0 0 4px;
}

.deliver-item p {
  margin: 0;
  font-size: 14px;
}

/* ---------- 特典セクション（center・地色反転帯 = .section--inverted） ---------- */

.gift-section {
  padding: 96px 0;
  overflow: hidden;
}

.gift-section::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  pointer-events: none;
}

.gift-grid {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.gift-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(91, 76, 67, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(99, 79, 63, 0.18);
}

.gift-card__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.gift-card h3 {
  margin: 0;
}

.gift-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.gift-card .text-link {
  margin-top: 6px;
}

.gift-note {
  max-width: 640px;
  margin: 26px auto 0;
  text-align: center;
  font-weight: 700;
  color: var(--white);
}

/* ---------- 参加ステップ（center） ---------- */

.step-section {
  padding: 84px 0;
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(2px);
}

.step-list {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.88);
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.step-item:hover {
  transform: translateY(-3px);
}

.step-item span.step-item__index {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(91, 76, 67, 0.14);
  color: var(--ink);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-item p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.step-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

/* ---------- 運営者紹介（split） ---------- */

.operator-section {
  padding: 92px 0;
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(2px);
}

.operator-section__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.operator-photo {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.operator-photo::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(91, 76, 67, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(91, 76, 67, 0.04) 0 1px, transparent 1px 100%);
  background-size: 26px 26px;
}

.operator-photo img {
  width: 100%;
  border: 10px solid rgba(255, 253, 249, 0.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.operator-name {
  margin: 0 0 12px;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 700;
}

.operator-copy p {
  color: var(--muted);
}

.operator-creds {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(238, 251, 247, 0.72);
}

.operator-creds__title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.operator-creds__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.operator-creds__tags li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.82);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- 有料版への一言（center・コンパクト） ---------- */

.upsell-section {
  padding: 56px 0;
  text-align: center;
  background: rgba(255, 247, 240, 0.5);
}

.upsell-section__inner {
  max-width: 640px;
  margin: 0 auto;
}

.upsell-section p {
  margin: 0;
  font-size: 14px;
}

.upsell-section .section-kicker {
  margin-bottom: 10px;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 108px 0;
  background:
    linear-gradient(180deg, rgba(247, 245, 237, 0.72), rgba(255, 253, 246, 0.82)),
    var(--surface);
  text-align: center;
}

.final-cta__inner {
  max-width: 780px;
  margin: 0 auto;
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto 28px;
}

.final-cta .btn-wrap {
  margin: 0 auto;
}

/* ---------- フッター ---------- */

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(2px);
}

.site-footer__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer__brand {
  color: var(--ink);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

/* ---------- reveal演出（イージングは --ease のみ） ---------- */

.motion-ready .reveal,
.motion-ready .reveal-child {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms var(--ease), transform 680ms var(--ease);
}

.motion-ready .reveal.is-visible,
.motion-ready .reveal-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal,
  .motion-ready .reveal-child {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   プロンプト50ページ専用スタイル
   ============================================================ */

.promo-hero {
  padding: 48px 0 40px;
  text-align: center;
  background: #fff6ed;
}

.promo-hero__inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  max-width: 760px;
}

.promo-hero .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.promise-section {
  padding: 56px 0;
  background: rgba(255, 253, 249, 0.8);
}

.promise-list {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.promise-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.88);
  box-shadow: var(--shadow-soft);
}

.promise-item__no {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 13px;
}

.promise-howto {
  max-width: 780px;
  margin: 22px auto 0;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 246, 207, 0.92);
  color: var(--ink-soft);
  font-size: 14px;
}

/* 反転帯（.section--inverted）内でも、この枠だけは薄色背景なので文字色を通常に戻す */
.section--inverted .promise-howto,
.section--inverted .promise-howto h3,
.section--inverted .promise-howto li {
  color: var(--ink);
}

.promise-howto h3 {
  margin-bottom: 8px;
}

.promise-howto ul {
  margin: 0;
  padding-left: 1.2em;
}

/* カテゴリ目次 */

.toc-section {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 14px 0;
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.toc-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.toc-list a:hover {
  border-color: rgba(59, 148, 137, 0.42);
  color: var(--teal-deep);
  background: rgba(238, 251, 247, 0.7);
}

/* カテゴリセクション & プロンプトカード */

.category-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.category-section:nth-of-type(even) {
  background: rgba(255, 253, 249, 0.55);
}

.category-section__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.category-section__no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  font-family: var(--font-display-family);
  font-weight: 700;
}

.category-section__head h2 {
  margin: 0;
}

.prompt-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.prompt-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.92);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 128px;
}

.prompt-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prompt-card__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 225, 121, 0.52);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.prompt-card__head h3 {
  margin: 0;
}

.prompt-card__body {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body-family);
  font-size: 13.5px;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 340px;
  overflow-y: auto;
}

.prompt-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid rgba(91, 76, 67, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.copy-btn:hover {
  border-color: rgba(59, 148, 137, 0.42);
  transform: translateY(-1px);
}

.copy-btn.is-copied {
  background: var(--teal);
  color: var(--ink);
  border-color: rgba(59, 148, 137, 0.4);
}

.prompt-card__fix {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 246, 207, 0.36);
  font-size: 13px;
  color: var(--ink-soft);
}

.prompt-card__fix .fix-label {
  display: inline-flex;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.prompt-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.prompt-card__meta .tool,
.prompt-card__meta .price {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.prompt-card__meta .tool {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
}

.prompt-card__meta .price {
  color: var(--ink);
}

.prompt-card__meta .price--free {
  background: rgba(123, 207, 189, 0.32);
}

.prompt-card__meta .price--mid {
  background: rgba(255, 197, 111, 0.36);
}

.prompt-card__meta .price--paid {
  background: rgba(180, 167, 255, 0.32);
}

/* 命名規約のbadge-*クラスをprompts50.html内でも使えるようエイリアス */
.prompt-card__meta .badge-free {
  background: rgba(123, 207, 189, 0.32);
}

.prompt-card__meta .badge-partial {
  background: rgba(255, 197, 111, 0.36);
}

.prompt-card__meta .badge-paid {
  background: rgba(180, 167, 255, 0.32);
}

/* 末尾: うまくいかなかったら＋オプチャ導線 */

.outro-section {
  padding: 72px 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(238, 251, 247, 0.9), rgba(255, 247, 240, 0.86)),
    var(--surface-2);
}

.outro-section__inner {
  max-width: 700px;
  margin: 0 auto;
}

.outro-section p {
  color: var(--ink-soft);
}

.outro-section .btn-wrap {
  margin: 26px auto 0;
}

/* ---------- レスポンシブ ---------- */

@media (min-width: 680px) {
  h1 {
    font-size: 2.74rem;
  }

  h2 {
    font-size: 1.96rem;
  }

  .hero__actions {
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 16px;
  }

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

  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .step-item {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .section-heading--split {
    grid-template-columns: 0.34fr 0.66fr;
  }

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

@media (min-width: 760px) {
  .prompt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  h1 {
    font-size: 3.16rem;
  }

  h2 {
    font-size: 2.18rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
  }

  .operator-section__grid {
    grid-template-columns: 0.86fr 1.14fr;
  }

  .deliver-section__grid {
    grid-template-columns: 0.4fr 0.6fr;
  }
}

@media (max-width: 679px) {
  h1 {
    font-size: 1.82rem;
    line-height: 1.24;
  }

  h2 {
    font-size: 1.42rem;
  }

  .section {
    padding: 68px 0;
  }

  .section__inner {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 28px;
  }

  .hero__inner {
    width: min(100% - 28px, var(--container));
  }

  .friction-card {
    min-height: 0;
    padding: 20px;
  }

  .gift-section,
  .final-cta {
    padding: 64px 0;
  }

  .step-section {
    padding: 56px 0;
  }

  .upsell-section {
    padding: 40px 0;
  }

  .toc-section {
    top: 0;
  }
}
